Moya 11.0.1 not compatible with Xcode 9.3 via Carthage

Created on 30 Mar 2018  Â·  4Comments  Â·  Source: Moya/Moya

Here's my Cartfile entry:

github "Moya/Moya"

And this is the command I'm running with Carthage 0.29.0:

carthage update --platform ios

The error output:

*** Building scheme "Moya" in Moya.xcodeproj
Build Failed
    Task failed with exit code 65:
    /usr/bin/xcrun xcodebuild -project /Users/Me/Code/Apple/Project/Carthage/Checkouts/Moya/Moya.xcodeproj -scheme Moya -configuration Release -derivedDataPath /Users/Me/Library/Caches/org.carthage.CarthageKit/DerivedData/9.3_9E145/Moya/11.0.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/2l/3tqwt0g91x18hql0jwsz0y280000gn/T/Moya SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/Me/Code/Apple/Project/Carthage/Checkouts/Moya)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/2l/3tqwt0g91x18hql0jwsz0y280000gn/T/carthage-xcodebuild.XAPo2l.log
carthage

All 4 comments

I've tried this entry:

github "Moya/Moya" "swift_4.1"

With the same command and still got an error. Then I created the branch xcode_9.3 based on swift_4.1 and got it working there. See my comment here for reference.

So, if anyone is having the same issue, until this is fixed properly you can use this in your Cartfile:

github "Moya/Moya" "xcode_9.3"

I just released Moya 11.0.2 with the patch for this. Please re-open if the problem continues

I tried both versions (11.0.2 and xcode_9.3) but I'm experiencing more errors in its dependencies.

module compiled with Swift 4.0.3 cannot be imported in Swift 3.3: /Users/nsmyself/moya/Carthage/Checkouts/Moya/Carthage/Build/iOS/RxSwift.framework/Modules/RxSwift.swiftmodule/arm.swiftmodule

Here's the log:

➜ moya carthage update --platform iOS
* Fetching Result
Fetching RxSwift
Fetching ReactiveSwift
Fetching Alamofire
Checking out Alamofire at "4.7.1"
Checking out Result at "3.2.4"
Checking out ReactiveSwift at "3.1.0"
Downloading RxSwift.framework binary at "Spread.2"
Checking out Moya at "11.0.2"
xcodebuild output can be found in /var/folders/14/_k0vb8rx1w16j43wvkcg949r0000gn/T/carthage-xcodebuild.Gc7aGU.log
Building scheme "Alamofire iOS" in Alamofire.xcworkspace
Building scheme "Result-iOS" in Result.xcodeproj
2018-04-10 14:28:05.167 xcodebuild[86765:9894907] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:05.167 xcodebuild[86765:9894907] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:05.170 xcodebuild[86765:9894907] iPhoneSupport: Unable to mount DeveloperDiskImage on (null) (Error Domain=com.apple.dtdevicekit Code=601 "Could not find platform" UserInfo={NSLocalizedDescription=Could not find platform})
2018-04-10 14:28:05.279 xcodebuild[86765:9894905] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:05.292 xcodebuild[86765:9894905] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:05.308 xcodebuild[86765:9894905] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:05.547 xcodebuild[86765:9894905] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:05.559 xcodebuild[86765:9894905] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:05.570 xcodebuild[86765:9894905] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:05.878 xcodebuild[86765:9894905] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:05.893 xcodebuild[86765:9894905] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:05.908 xcodebuild[86765:9894905] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
Building scheme "ReactiveSwift-iOS" in ReactiveSwift.xcworkspace
--- xcodebuild: WARNING: Unable to open project file '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift-UIExamples.playground' in workspace '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.xcworkspace'.
--- xcodebuild: WARNING: Unable to open project file '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.playground' in workspace '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.xcworkspace'.
--- xcodebuild: WARNING: Unable to open project file '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.playground' in workspace '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.xcworkspace'.
--- xcodebuild: WARNING: Unable to open project file '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift-UIExamples.playground' in workspace '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.xcworkspace'.
2018-04-10 14:28:36.902 xcodebuild[86930:9896277] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:36.903 xcodebuild[86930:9896277] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:36.905 xcodebuild[86930:9896277] iPhoneSupport: Unable to mount DeveloperDiskImage on (null) (Error Domain=com.apple.dtdevicekit Code=601 "Could not find platform" UserInfo={NSLocalizedDescription=Could not find platform})
2018-04-10 14:28:37.013 xcodebuild[86930:9896147] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:37.029 xcodebuild[86930:9896147] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:37.048 xcodebuild[86930:9896147] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:37.263 xcodebuild[86930:9896147] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:37.275 xcodebuild[86930:9896147] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:28:37.288 xcodebuild[86930:9896147] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
--- xcodebuild: WARNING: Unable to open project file '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift-UIExamples.playground' in workspace '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.xcworkspace'.
--- xcodebuild: WARNING: Unable to open project file '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.playground' in workspace '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.xcworkspace'.
2018-04-10 14:29:01.023 xcodebuild[87041:9896817] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:01.024 xcodebuild[87041:9896817] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:01.028 xcodebuild[87041:9896817] iPhoneSupport: Unable to mount DeveloperDiskImage on (null) (Error Domain=com.apple.dtdevicekit Code=601 "Could not find platform" UserInfo={NSLocalizedDescription=Could not find platform})
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:17: warning: redeclaration of associated type 'Error' from protocol 'SignalProducerConvertible' is better expressed as a 'where' clause on the protocol
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:24: warning: redundant conformance constraint 'Self.Error': 'Error'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Disposable.swift:162:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:33:9: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:34:9: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:135:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:136:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:199:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:200:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:154:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:155:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:114:15: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:115:15: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:17: warning: redeclaration of associated type 'Error' from protocol 'SignalProducerConvertible' is better expressed as a 'where' clause on the protocol
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:24: warning: redundant conformance constraint 'Self.Error': 'Error'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Disposable.swift:162:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:33:9: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:34:9: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:135:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:136:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:199:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:200:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:154:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:155:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:114:15: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:115:15: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:17: warning: redeclaration of associated type 'Error' from protocol 'SignalProducerConvertible' is better expressed as a 'where' clause on the protocol
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:24: warning: redundant conformance constraint 'Self.Error': 'Error'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Disposable.swift:162:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:33:9: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:34:9: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:135:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:136:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:199:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:200:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:154:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:155:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:114:15: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:115:15: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:17: warning: redeclaration of associated type 'Error' from protocol 'SignalProducerConvertible' is better expressed as a 'where' clause on the protocol
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:24: warning: redundant conformance constraint 'Self.Error': 'Error'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Disposable.swift:162:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:33:9: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:34:9: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:135:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:136:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:199:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:200:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:154:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:155:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:114:15: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:115:15: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:17: warning: redeclaration of associated type 'Error' from protocol 'SignalProducerConvertible' is better expressed as a 'where' clause on the protocol
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:24: warning: redundant conformance constraint 'Self.Error': 'Error'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Disposable.swift:162:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:33:9: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:34:9: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:135:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:136:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:199:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:200:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:154:10: warning: 'deinitialize()' is deprecated--- xcodebuild: WARNING: Unable to open project file '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift-UIExamples.playground' in workspace '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.xcworkspace'.
--- xcodebuild: WARNING: Unable to open project file '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.playground' in workspace '/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.xcworkspace'.
Building scheme "RxMoya" in Moya.xcodeproj
2018-04-10 14:29:42.084 xcodebuild[87202:9898610] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.084 xcodebuild[87202:9898610] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.087 xcodebuild[87202:9898610] iPhoneSupport: Unable to mount DeveloperDiskImage on (null) (Error Domain=com.apple.dtdevicekit Code=601 "Could not find platform" UserInfo={NSLocalizedDescription=Could not find platform})
2018-04-10 14:29:42.193 xcodebuild[87202:9898346] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.209 xcodebuild[87202:9898346] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.227 xcodebuild[87202:9898346] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.243 xcodebuild[87202:9898346] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.259 xcodebuild[87202:9898346] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
*
BUILD FAILED **

The following build commands failed:
CompileSwift normal armv7
CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
CompileSwift normal arm64
(4 failures)
: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:155:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:114:15: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:115:15: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:17: warning: redeclaration of associated type 'Error' from protocol 'SignalProducerConvertible' is better expressed as a 'where' clause on the protocol
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:24: warning: redundant conformance constraint 'Self.Error': 'Error'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Disposable.swift:162:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:33:9: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:34:9: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:135:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:136:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:199:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:200:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:154:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:155:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:114:15: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:115:15: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:17: warning: redeclaration of associated type 'Error' from protocol 'SignalProducerConvertible' is better expressed as a 'where' clause on the protocol
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:24: warning: redundant conformance constraint 'Self.Error': 'Error'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Disposable.swift:162:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:33:9: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:34:9: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:135:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:136:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:199:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:200:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:154:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:155:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:114:15: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:115:15: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:17: warning: redeclaration of associated type 'Error' from protocol 'SignalProducerConvertible' is better expressed as a 'where' clause on the protocol
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/UnidirectionalBinding.swift:25:24: warning: redundant conformance constraint 'Self.Error': 'Error'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Disposable.swift:162:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/SignalProducer.swift:1960:81: warning: 'ReversedRandomAccessCollection' is deprecated: renamed to 'ReversedCollection'
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:33:9: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:34:9: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:135:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:136:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:199:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:200:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:154:10: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Atomic.swift:155:10: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:114:15: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
/Users/nsmyself/moya/Carthage/Checkouts/ReactiveSwift/Sources/Scheduler.swift:115:15: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
/Users/nsmyself/moya/Carthage/Checkouts/Moya/Sources/RxMoya/Single+Response.swift:2:8: error: module compiled with Swift 4.0.3 cannot be imported in Swift 3.3: /Users/nsmyself/moya/Carthage/Checkouts/Moya/Carthage/Build/iOS/RxSwift.framework/Modules/RxSwift.swiftmodule/arm.swiftmodule
/Users/nsmyself/moya/Carthage/Checkouts/Moya/Sources/RxMoya/Single+Response.swift:2:8: error: module compiled with Swift 4.0.3 cannot be imported in Swift 3.3: /Users/nsmyself/moya/Carthage/Checkouts/Moya/Carthage/Build/iOS/RxSwift.framework/Modules/RxSwift.swiftmodule/arm64.swiftmodule
A shell task (/usr/bin/xcrun xcodebuild -project /Users/nsmyself/moya/Carthage/Checkouts/Moya/Moya.xcodeproj -scheme RxMoya -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
2018-04-10 14:29:42.084 xcodebuild[87202:9898610] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.084 xcodebuild[87202:9898610] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.087 xcodebuild[87202:9898610] iPhoneSupport: Unable to mount DeveloperDiskImage on (null) (Error Domain=com.apple.dtdevicekit Code=601 "Could not find platform" UserInfo={NSLocalizedDescription=Could not find platform})
2018-04-10 14:29:42.193 xcodebuild[87202:9898346] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.209 xcodebuild[87202:9898346] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.227 xcodebuild[87202:9898346] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.243 xcodebuild[87202:9898346] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
2018-04-10 14:29:42.259 xcodebuild[87202:9898346] [MT] DTDeviceKit: deviceType from 244d68f158e2bc0485ac2ea5ffa1527afca33323 was NULL
* BUILD FAILED *

The following build commands failed:
CompileSwift normal armv7
CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
CompileSwift normal arm64
(4 failures)

Disregard that, using --no-use-binaries fixed it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mwawrusch picture mwawrusch  Â·  3Comments

JoeFerrucci picture JoeFerrucci  Â·  3Comments

hjzCy picture hjzCy  Â·  3Comments

hamada147 picture hamada147  Â·  3Comments

fenixsolorzano picture fenixsolorzano  Â·  3Comments