Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master fails to compile with Carthage #34

Open
bdittmer opened this issue Dec 29, 2017 · 1 comment
Open

Master fails to compile with Carthage #34

bdittmer opened this issue Dec 29, 2017 · 1 comment

Comments

@bdittmer
Copy link

Using XCode 9.2 and Carthage, targeting the master branch as it seems to have Swift 4 support merged in. Below is the error:

CompileSwift normal arm64
    cd /Users/brian/Projects/FreightrollMobile/Carthage/Checkouts/Swift-ActionCableClient
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -emit-bc /Users/brian/Projects/FreightrollMobile/Carthage/Checkouts/Swift-ActionCableClient/Source/Classes/JSONSerializer.swift /Users/brian/Projects/FreightrollMobile/Carthage/Checkouts/Swift-ActionCableClient/Source/Classes/Error.swift /Users/brian/Projects/FreightrollMobile/Carthage/Checkouts/Swift-ActionCableClient/Source/Classes/ActionCableClient.swift /Users/brian/Projects/FreightrollMobile/Carthage/Checkouts/Swift-ActionCableClient/Source/Classes/RetryHandler.swift /Users/brian/Projects/FreightrollMobile/Carthage/Checkouts/Swift-ActionCableClient/Source/Classes/Channel.swift /Users/brian/Projects/FreightrollMobile/Carthage/Checkouts/Swift-ActionCableClient/Source/Classes/Constants.swift -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -I /Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/BuildProductsPath/Release-iphoneos -F /Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/BuildProductsPath/Release-iphoneos -g -import-underlying-module -module-cache-path /Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/ModuleCache -swift-version 4 -serialize-debugging-options -report-errors-to-debugger -Xcc "-I/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/swift-overrides.hmap" -Xcc -iquote -Xcc "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/ActionCableClient-generated-files.hmap" -Xcc "-I/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/ActionCableClient-own-target-headers.hmap" -Xcc "-I/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/ActionCableClient-all-non-framework-target-headers.hmap" -Xcc -ivfsoverlay -Xcc /Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/all-product-headers.yaml -Xcc -iquote -Xcc "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/ActionCableClient-project-headers.hmap" -Xcc -I/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/BuildProductsPath/Release-iphoneos/include -Xcc "-I/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/DerivedSources/arm64" -Xcc "-I/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/DerivedSources" -Xcc -ivfsoverlay -Xcc "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/unextended-module-overlay.yaml" -Xcc -working-directory/Users/brian/Projects/FreightrollMobile/Carthage/Checkouts/Swift-ActionCableClient -emit-module-doc-path "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/Objects-normal/arm64/ActionCableClient.swiftdoc" -serialize-diagnostics-path "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/Objects-normal/arm64/JSONSerializer.dia" -O -module-name ActionCableClient -emit-module-path "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/Objects-normal/arm64/ActionCableClient.swiftmodule" -emit-objc-header-path "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/Objects-normal/arm64/ActionCableClient-Swift.h" -emit-dependencies-path "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/Objects-normal/arm64/JSONSerializer.d" -num-threads 4 -o "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/Objects-normal/arm64/JSONSerializer.bc" -o "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/Objects-normal/arm64/Error.bc" -o "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/Objects-normal/arm64/ActionCableClient.bc" -o "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/Objects-normal/arm64/RetryHandler.bc" -o "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/Objects-normal/arm64/Channel.bc" -o "/Users/brian/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Swift-ActionCableClient/0db1c05448fd484b88c92aecd38489233ecc13e4/Build/Intermediates.noindex/ArchiveIntermediates/ActionCableClient-iOS/IntermediateBuildFilesPath/ActionCableClient.build/Release-iphoneos/ActionCableClient iOS.build/Objects-normal/arm64/Constants.bc"
/Users/brian/Projects/FreightrollMobile/Carthage/Checkouts/Swift-ActionCableClient/Source/Classes/ActionCableClient.swift:96:27: error: incorrect argument label in call (have 'request:', expected 'url:')
        socket = WebSocket(request: request)
                          ^~~~~~~~
                           url

** ARCHIVE FAILED **


The following build commands failed:
	CompileSwift normal armv7
	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
	CompileSwift normal arm64
@ryowa1993
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants