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
18
votes
2 answers

iOS Simulator Crash on Xcode 10

Today, I've updated my iMac to macOS Mojave from macOS High Sierra. Since then I'm not able to open simulator. Every time I tried to open the simulator that crashes immediately. Whenever I tried to run the simulator via Xcode then Xcode shows this…
Vineet Choudhary
  • 7,433
  • 4
  • 45
  • 72
18
votes
7 answers

Simulator on Xcode 10 became terribly slow

Everything worked perfect on Xcode 9. But after updating to Xcode 10, Simulator started to get huge lags. Super simple animation is working on 2 fps and whole Mac OS is super slow while animation on Simulator is working. Anybody know what happens…
bodich
  • 1,708
  • 12
  • 31
18
votes
4 answers

CocoaPods with Xcode 10 RuntimeError Xcodeproj doesn't know about the following attributes

I'm trying to install a pod with pod install and getting the following error: RuntimeError - [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa. I'm…
Alexander Vasenin
  • 11,437
  • 4
  • 42
  • 70
17
votes
3 answers

How to use XCode's mergetool to resolve conflicts?

I'm in the middle of a rebase and I need to fix some merge conflicts. When I open the file in XCode, I see the source control conflict markers (<<<<<<<, etc) in the file. How can I use XCode's mergetool to resolve these conflicts in a graphical…
17
votes
5 answers

Command PhaseScriptExecution failed with a nonzero exit code - No such file or directory

Every time I try to run my iOS app on Xcode 10, it fails and gives me the error "Command PhaseScriptExecution failed with a nonzero exit code" The full error description is: bash: /Users/Noah…
Noah Schmidt
  • 171
  • 1
  • 2
  • 6
17
votes
2 answers

No Export option in Xcode 10 for Development/Adhoc/Enterprise

In Xcode 10 there seems the export option is not available for Development / Adhoc / Enterprise mode. But for when we go through "Distribute app" and choose "iOS App Store" then it show "Export" option there. And if I choose to proceed with any…
Bharath
  • 2,064
  • 1
  • 14
  • 39
17
votes
6 answers

Xcode 10 command-line building: Archive failed with Fabric Info.plist Error

I have Jenkins server for autobuilding iOS project that has two targets. Project builds with command-line utility xcodebuild. Full commands are /usr/bin/xcodebuild -workspace "Our project.xcworkspace" -scheme "First target" -configuration…
General Failure
  • 2,421
  • 4
  • 23
  • 49
17
votes
4 answers

AVAudioSession setCategory availability in Swift 4.2

After migrating to Swift 4.2, I am getting multiple errors, one of which is weird. It seems like a bug in Xcode 10, but is there a workaround available? do { try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.playAndRecord,…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
17
votes
2 answers

Base internationalisation with Xcode 10

My project declares two languages: English as development and French as additional. Also it has Use Base Internationalization ticked. When I localise a Strings file in Xcode 9, I normally move the content to French, then tick Base in Localization…
cyanide
  • 3,885
  • 3
  • 25
  • 33
17
votes
5 answers

Module compiled with Swift 4.1.2 cannot be imported in Swift 4.1.50: Xcode 10 Error

Swift 4.2 came out and I'm receiving this error message in my project when using ObjectMapper and some other pods too: Module compiled with Swift 4.1.2 cannot be imported in Swift 4.1.50 So how do I tell Xcode to start updating my project and…
Sahil Kapoor
  • 11,183
  • 13
  • 64
  • 87
16
votes
3 answers

No author information was supplied by the version control system

I just updated my Xcode to version 10.2 (10E125). A moment I want to commit, I get this message: After I click on fix: I have filled in the information, but I’m still getting that message above. What's the reason?
Nizzam
  • 1,030
  • 3
  • 16
  • 29
16
votes
3 answers

How to fix Xcode 10 error 'Multiple commands produce..' after generating Core Data subclasses

I have created a brand new core data model for my project and I want to create some NSManagedObject Subclasses for it. After generating subclasses XCode throws some errors that reference a path to the /DerivedData folder. See my steps below and…
rednaxela
  • 661
  • 2
  • 9
  • 21
16
votes
2 answers

How to make an enum conform to Hashable with the API available in Xcode 10?

In my Swift 4.2.1 code I have this enumeration: enum MyEnum { case caseOne(Int) case caseTwo(String) case caseThree } It conforms to Equatable: extension MyEnum: Equatable { static func == (lhs: MyEnum, rhs: MyEnum) -> Bool { …
Roman Podymov
  • 4,168
  • 4
  • 30
  • 57
16
votes
3 answers

Swift Catch Pattern that binds the error to a variable

Using Swift 4.2 and XCode 10 In Swift 4.2, DecodingError is an enumeration. There are (currently) four different cases. I can catch each case separately, and bind variables that I can use to log the error as in the following code ... do { let…
escapedcanadian
  • 283
  • 5
  • 10
16
votes
2 answers

Xcode 10 New Build System Clean Issue

I recently updated my Xcode to 10. As a default, "New Build System" was enabled. When I build my project, I have noticed that my changes won't work on Simulator. When I try to debug this code, Xcode displays the correct changed source code, but the…
Göktuğ Aral
  • 1,409
  • 1
  • 13
  • 28