ios_sdk: Carthage + Xcode 10 : Task failed with exit code 65

Step to reproduce :

  1. select xcode version by running sudo xcode-select -switch <Path_to_Xcode10.app>
  2. Run carthage update --platform iOS on your project
  3. Get this error :

Task failed with exit code 65

Did someone found a solution ?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 12
  • Comments: 23 (6 by maintainers)

Commits related to this issue

Most upvoted comments

Hi @DashlaneParis

Can you please give xcode-10-beta branch a shot and let us know if it works for you?

Cheers

Hello, Yes, a separated Xcode-beta branch will definitely be helpful

I’m having the same error when building for macOS. I deleted the “copy bundled resources” line from the build ( it had no items in it anyway) but that did not fix the error. The last part of the log file is:

… Intermediates.noindex/ArchiveIntermediates/CocoaMQTT/IntermediateBuildFilesPath/CocoaMQTT.build/Release/CocoaMQTT.build/Objects-normal/x86_64/CocoaMQTTFrame.o -o /Users/Charlie/Library/Caches/org.carthage.CarthageKit/DerivedData/11.1_11A1027/CocoaMQTT/9a55aa7721cd842ed9720979eacbc9557a65cd2d/Build/Intermediates.noindex/ArchiveIntermediates/CocoaMQTT/IntermediateBuildFilesPath/CocoaMQTT.build/Release/CocoaMQTT.build/Objects-normal/x86_64/CocoaMQTTMessage.o -o /Users/Charlie/Library/Caches/org.carthage.CarthageKit/DerivedData/11.1_11A1027/CocoaMQTT/9a55aa7721cd842ed9720979eacbc9557a65cd2d/Build/Intermediates.noindex/ArchiveIntermediates/CocoaMQTT/IntermediateBuildFilesPath/CocoaMQTT.build/Release/CocoaMQTT.build/Objects-normal/x86_64/CocoaMQTTDeliver.o -o /Users/Charlie/Library/Caches/org.carthage.CarthageKit/DerivedData/11.1_11A1027/CocoaMQTT/9a55aa7721cd842ed9720979eacbc9557a65cd2d/Build/Intermediates.noindex/ArchiveIntermediates/CocoaMQTT/IntermediateBuildFilesPath/CocoaMQTT.build/Release/CocoaMQTT.build/Objects-normal/x86_64/CocoaMQTTTimer.o -o /Users/Charlie/Library/Caches/org.carthage.CarthageKit/DerivedData/11.1_11A1027/CocoaMQTT/9a55aa7721cd842ed9720979eacbc9557a65cd2d/Build/Intermediates.noindex/ArchiveIntermediates/CocoaMQTT/IntermediateBuildFilesPath/CocoaMQTT.build/Release/CocoaMQTT.build/Objects-normal/x86_64/CocoaMQTTLogger.o /Users/Charlie/Desktop/mqtt/Carthage/Checkouts/CocoaMQTT/Source/CocoaMQTTDeliver.swift:39:90: error: ‘default’ is only available in macOS 10.10 or newer private var deliverQueue = DispatchQueue.init(label: “deliver.cocoamqtt.emqx”, qos: .default) ^ /Users/Charlie/Desktop/mqtt/Carthage/Checkouts/CocoaMQTT/Source/CocoaMQTTDeliver.swift:36:7: note: add @available attribute to enclosing class class CocoaMQTTDeliver: NSObject { ^ /Users/Charlie/Desktop/mqtt/Carthage/Checkouts/CocoaMQTT/Source/CocoaMQTTTimer.swift:52:98: error: ‘default’ is only available in macOS 10.10 or newer private static let target_queue = DispatchQueue(label: “io.emqx.CocoaMQTT.TimerQueue”, qos: .default, attributes: .concurrent) ^ /Users/Charlie/Desktop/mqtt/Carthage/Checkouts/CocoaMQTT/Source/CocoaMQTTTimer.swift:52:24: note: add @available attribute to enclosing static property private static let target_queue = DispatchQueue(label: “io.emqx.CocoaMQTT.TimerQueue”, qos: .default, attributes: .concurrent) ^ /Users/Charlie/Desktop/mqtt/Carthage/Checkouts/CocoaMQTT/Source/CocoaMQTTTimer.swift:16:7: note: add @available attribute to enclosing class class CocoaMQTTTimer { ^

** ARCHIVE FAILED **

The following build commands failed: CompileSwift normal x86_64 CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (2 failures)

@uerceg I’m running on macOS 10.13.5

Hey guys, thanks for reporting, will be checked this week on our side. Sorry for a bit delayed reply. Will keep you posted in here on progress.

@abiaad We faced same issue. Fix can be found here https://github.com/adjust/ios_sdk/pull/335