Questions tagged [xcode12]

This tag should only be used for questions specific to the usage and features of Xcode 12. Do not use this tag just because you are using Xcode to develop your app. General Xcode questions should use the non-version specific xcode tag. Use tags appropriate for the OS such as ios or macos.

Xcode 12 is year 2020 version of Apple's IDE. Made available in beta at the start of WWDC 2020 on June 22, 2020. This provides support for iOS 14, macOS 11, watchOS 7, and tvOS 14.

783 questions
41
votes
2 answers

Using an empty LLDB target which can cause slow memory reads from remote devices

I am using Xcode 12 and I am getting an warning as below: Warning: Error creating LLDB target at path '/Users/ABC/Library/Developer/Xcode/DerivedData/demowatchapp-blfzfuqxehfteaaofqpdlfuurtdr/Build/Products/Debug-watchsimulator/watchapp.app'- using…
Nik
  • 1,679
  • 1
  • 20
  • 36
40
votes
4 answers

Xcode 12 beta and iOS 14: Weird console logs "objc[5551]: Class ... is implemented in both"

I have just downloaded Xcode 12 beta 2 and now I'm getting a bunch of weird logs in the console while I'm running my app (these warnings don't appear when using Xcode 11.5). They look like the following one: objc[5551]: Class CSAudioFileManager is…
finebel
  • 2,227
  • 1
  • 9
  • 20
38
votes
10 answers

Xcode 12: build Error on FIRAnalyticsConnector

After upgrading to Xcode 12, my project doesn't build for the simulator anymore. The error I get is: ld: in ...…
themenace
  • 2,601
  • 2
  • 20
  • 33
36
votes
5 answers

Xcode warning: Immutable property will not be decoded because it is declared with an initial value which cannot be overwritten

Running Xcode 12, my Swift 5 Xcode project now has warnings whenever a Decodable or Codable type declares a let constant with an initial value. struct ExampleItem: Decodable { let number: Int = 42 // warning } Immutable property will not be…
pkamb
  • 33,281
  • 23
  • 160
  • 191
34
votes
2 answers

Accessing ViewModel field in SwiftUI using Xcode 12: "Accessing State's value outside of being installed on a View"

I think this error message is new to SwiftUI in Xcode 12 since it gave 0 hits in Google while the message itself is fairly generic: Accessing State's value outside of being installed on a View. This will result in a constant Binding of the initial…
Lucas van Dongen
  • 9,328
  • 7
  • 39
  • 60
33
votes
14 answers

Executable Not Found. xxx.app is not a valid path to an executable file

Details Executable Not Found Domain: DVTMachOErrorDomain Code: 5 Recovery Suggestion: /Users/riber/Library/Developer/Xcode/DerivedData/digitalCurrency-hiyiyrokjaydkiagjimlwohehrtu/Build/Products/Debug-iphonesimulator/digitalCurrency.app is not a…
Riber
  • 431
  • 1
  • 4
  • 4
32
votes
5 answers

Xcode 12 build target in wrong order for simulator?

My project always runs correctly on all devices using Xcode 11, but after I installed Xcode 12 beta 4, it is failing to build on the simulator. I compared the build logs of Xcode 11 and Xcode 12 and it seems in Xcode 12 that my main target is being…
ximmyxiao
  • 2,622
  • 3
  • 20
  • 35
32
votes
4 answers

Xcode 12 - AppName's architectures (arm64) include none that iPhone 11 Pro can execute (Intel 64-bit)

Im getting AppName's architectures (arm64) include none that iPhone 11 Pro can execute (Intel 64-bit). error on Xcode 12 beta-3, I have set below Architectures x86_64 armv7s arm64 how to resolve this error?
Keshav
  • 2,965
  • 3
  • 25
  • 30
31
votes
9 answers

Xcode 12 issue - Could not find module 'FrameworkName' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64

After updating to Xcode 12 the project gives me this error when building on simulator: Could not find module 'FrameworkName' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64 The framework is installed with…
Stefo
  • 636
  • 1
  • 8
  • 13
31
votes
6 answers

XCode 12: 'SessionDelegate' has different definitions in different modules

Edit: This problem occurs after XCode 12 Beta5. Xcode doesn't allow different modules to define same names (Probably for public classes & protocols). Alamofire and Kingfisher appears to define SessionDelegate at the same time. I'm still trying to…
Feridun Erbaş
  • 573
  • 1
  • 6
  • 19
30
votes
5 answers

Xcode(version 13.3.1) doesn’t support iOS 15.6

I updated my iPhone to iOS 15.6 yesterday and I wanted to build in Xcode (version 13.3.1). But in Xcode it is showing 'iPhone (unsupported OS version)'. The Xcode release notes are not showing this version supports. https://xcodereleases.com
Saurabh Sharma
  • 1,671
  • 2
  • 13
  • 16
30
votes
6 answers

Xcode 12 using Firebase pods. Lexical or Preprocessor issue. "pb.h' file not found with include; use "quotes" instead"?

I've just downloaded Xcode 12 beta 6. I've installed firebase into the project and I get this error. When I correct it with the suggestion it then tells me to correct again with the original. This error is repeated for all 'GoogleDataTransport'. Can…
Josh Allen
  • 485
  • 1
  • 4
  • 12
30
votes
1 answer

How to fix terminal output of "Style Z is requested for an invisible rect" when moving view on default iOS Map, using MapKit and SwiftUI, Xcode 12

Using MapKit and SwiftUI (Version 12.0 beta 2 (12A6163b)) when zooming in/out around the map the terminal produces hundreds of these lines: 2020-07-21 21:05:39.310719-0500 MyApp[95733:4195994] [VKDefault] Style Z is requested for an invisible…
Mac Wayne
  • 587
  • 4
  • 13
29
votes
13 answers

Xcode 12: Failed to start remote service "com.apple.debugserver" on iOS device

I updated my Xcode to Version 12.4 (12D4e) and after that I am unable to run my app on my device iPhone X iOS 14.4.2. Its alway show this Error When I check my device connected status, Its show as connected Action I applied Clear DerivedData…
iDeveloper
  • 2,339
  • 2
  • 24
  • 38
29
votes
2 answers

SwiftUI macOS fetch json error [logging] volume does not support data protection, stripping SQLITE_OPEN_FILEPROTECTION_* flags\

I tired to build an macOS application (Xcode 12, SwifUI) for my IOS app. To fetch json data from my website I need a fetch request (no API key). I found several samples on medium, hackingwithswift etc., but I always get keeping the same…
DoTryCatch
  • 1,052
  • 6
  • 17
1
2
3
52 53