Questions tagged [xcode10]

This tag should only be used for questions specific to the usage and features of Xcode 10. 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.

976 questions
102
votes
14 answers

What does warning "Mapping architecture arm64 to x86_64" mean?

After migrating my framework to Xcode 10 beta (10L176w) I started to get warnings like: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS…
0x416e746f6e
  • 9,872
  • 5
  • 40
  • 68
89
votes
6 answers

Cannot install Xcode 10 Network Link Conditioner in macOS Mojave

I'm using the final version of Xcode 10 on macOS Mojave beta 11. I downloaded the Additional Tools for Xcode 10 package from Apple's website. When I try to install the Network Link Conditioner Preference Pane, Settings.app displays this…
Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223
81
votes
8 answers

Where can I download old versions of Xcode?

I am able to download the current versions of Xcode and other resources from the Apple Developer Center(s), but where can I download older versions? Specifically, I am looking for recent older Xcode
Marina
  • 3,222
  • 5
  • 25
  • 35
81
votes
5 answers

How can I use the legacy build system with Xcode 10's `xcodebuild`?

I'd like to use the new build system of Xcode 10 for development, but our build in our continuous integration system fails since the xcarchive produced has an issue: the Info.plist in the xcarchive is missing the ApplicationProperties key and the…
DarkDust
  • 90,870
  • 19
  • 190
  • 224
75
votes
7 answers

Enable code-folding by default

Is there a way to tell XCode fold methods/functions by default when opening a file?
Infinite
  • 2,931
  • 2
  • 27
  • 33
73
votes
9 answers

Value for SWIFT_VERSION cannot be empty

I have installed swift pods for the obj c project. I got this error when I was trying to build it. I have gone through all the solutions like deleting derived data, cleaning the build folder. Swift Compiler_Language also missing in the XCode…
Kumaraprasad
  • 733
  • 1
  • 5
  • 6
67
votes
20 answers

error: Unable to resolve build file: XCBCore.BuildFile

error: Unable to resolve build file: XCBCore.BuildFile (missingTargetProductReference("3bf83096e50de72a94699e9afc1133ebe3512682230d04680075c283a974e273")) (in target 'MyTarget') Xcode 10 is giving this error immediately when trying to build our…
Tres
  • 1,445
  • 1
  • 12
  • 23
63
votes
5 answers

Xcode 10.3 Installation

I have just been (involuntarily) upgraded to Xcode 10.3 (10G8). I'm getting the following error: /Users/hgm/XCode/Gnosys/TGuide/TGPrep/Assets.xcassets:-1: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x…
hgm
  • 725
  • 1
  • 5
  • 6
63
votes
6 answers

Missing Provisioning Profile :Apps must contain a provisioning profile in a file named embedded.mobileprovision

App is already submitted to App Store from xcode-9 and now I have to update new version.But now xcode is updated i.e.xcode 10.During Validating it shows 'Apps must contain a provisioning profile in a file named embedded.mobileprovision..' .App is…
developer.PT
  • 660
  • 1
  • 5
  • 11
63
votes
10 answers

Model is running iOS 10.2 (14C92), which may not be supported by this version of Xcode

I am facing this error, i am done with research on that. I conclude the result, i need one file for device support 10.2(14C92) Please share that file. GoTo: Right click on Xcode 8 or Newer version of your Xcode, select "Show Package Contents",…
Piyush Sanepara
  • 1,417
  • 2
  • 18
  • 23
58
votes
13 answers

Xcode 10: unable to attach DB error

When updating to Xcode 10, iOS static library target fails to build. Way how I am trying to build it is following: xcodebuild -target TargetName -configuration Release clean build With Xcode 9 everything runs smoothly, but when Xcode 10 is used for…
uerceg
  • 4,637
  • 6
  • 45
  • 63
57
votes
20 answers

"${PODS_ROOT}/SwiftLint/swiftlint" causes "Command PhaseScriptExecution failed with a nonzero exit code" with Xcode 10

Updating from Xcode 10.0 beta 2 to Xcode 10.0 beta 3 I now get this error at build time for an iOS project: sourcekit: [1:connection-event-handler:10499: 0.0000] Connection interruptsourcekit: [1:updateSemanticEditorDelay:10499: 0.0007] disabling…
Cœur
  • 37,241
  • 25
  • 195
  • 267
54
votes
17 answers

Cannot run application on simulator after installing Xcode 11 - CFBundleVersion error

Yesterday, I've downloaded beta version of Xcode 11. After that, I've opened my project and tried to run with new Xcode. Unfortunately error has occurred with message: Failed to install the requested application Domain: NSPOSIXErrorDomain Code:…
Piotr Sękara
  • 710
  • 1
  • 5
  • 8
54
votes
2 answers

How to enable Dark Mode for Xcode

Apple announced a new Dark Mode for Xcode 10. I've downloaded the beta but now I can't find any option to turn it on. I'm currently on macOS 10.13 High Sierra.
Lukas Würzburger
  • 6,543
  • 7
  • 41
  • 75
53
votes
8 answers

In iOS 12, when does the UICollectionView layout cells, use autolayout in nib

Same code like this collectionLayout.estimatedItemSize = CGSize(width: 50, height: 25) collectionLayout.itemSize = UICollectionViewFlowLayoutAutomaticSize collectionLayout.minimumInteritemSpacing = 10 for _ in 0 ..< 1000 { let length =…
EvilHydra
  • 552
  • 1
  • 5
  • 9
1
2
3
65 66