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

error when excute carthage update #21

Closed
brucewzp opened this issue Mar 22, 2017 · 4 comments · Fixed by #28
Closed

error when excute carthage update #21

brucewzp opened this issue Mar 22, 2017 · 4 comments · Fixed by #28

Comments

@brucewzp
Copy link

There is error when I adding Solar to my project with carthage and hope you can check it out :)
log:
*** Fetching Solar
*** Checking out Solar at "2.0.0"
*** xcodebuild output can be found in /var/folders/0m/bv501p9j043_w386gf5g7dlh0000gn/T/carthage-xcodebuild.vDSKOj.log
*** Building scheme "Solar" in Solar.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project
.../Carthage/Checkouts/Solar/Solar.xcodeproj -scheme Solar -configuration Release -derivedDataPath /Users/brucewzp/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/2.0.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/0m/bv501p9j043_w386gf5g7dlh0000gn/T/carthage-xcodebuild.vDSKOj.log

@ceeK ceeK added the bug label Mar 24, 2017
@arnoldad
Copy link

arnoldad commented Jun 6, 2017

+1 Still seeing this issue with carthage and xCode 8.3.2

@caipre
Copy link

caipre commented Jul 30, 2017

FWIW, I was able to get this to build by removing SolarTests from the Solar target.

@1ec5
Copy link
Collaborator

1ec5 commented Aug 25, 2017

The logs show the following errors for me in Xcode 8.3.3:

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/mxn/hub/mapbox-navigation-ios/Carthage/Checkouts/Solar/SolarTests/City.swift /Users/mxn/hub/mapbox-navigation-ios/Carthage/Checkouts/Solar/SolarTests/SolarTests.swift -target arm64-apple-ios10.2 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -I /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Products/Release-iphoneos -F /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Products/Release-iphoneos -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -enable-testing -g -module-cache-path /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/ModuleCache -serialize-debugging-options -serialize-debugging-options -Xcc -I/Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/SolarTests-generated-files.hmap -Xcc -I/Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/SolarTests-own-target-headers.hmap -Xcc -I/Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/SolarTests-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/SolarTests-project-headers.hmap -Xcc -I/Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Products/Release-iphoneos/include -Xcc -I/Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/DerivedSources/arm64 -Xcc -I/Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/DerivedSources -Xcc -working-directory/Users/mxn/hub/mapbox-navigation-ios/Carthage/Checkouts/Solar -emit-module-doc-path /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/Objects-normal/arm64/SolarTests.swiftdoc -serialize-diagnostics-path /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/Objects-normal/arm64/City.dia -O -module-name SolarTests -emit-module-path /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/Objects-normal/arm64/SolarTests.swiftmodule -emit-objc-header-path /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/Objects-normal/arm64/SolarTests-Swift.h -emit-dependencies-path /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/Objects-normal/arm64/City.d -num-threads 4 -o /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/Objects-normal/arm64/City.o -o /Users/mxn/Library/Caches/org.carthage.CarthageKit/DerivedData/Solar/c162c697652c3dfe389717f6c9070a0421b3f0cd/Build/Intermediates/Solar.build/Release-iphoneos/SolarTests.build/Objects-normal/arm64/SolarTests.o
/Users/mxn/hub/mapbox-navigation-ios/Carthage/Checkouts/Solar/SolarTests/SolarTests.swift:45:13: error: argument labels '(_:, _:, accuracy:, _:)' do not match any available overloads
            XCTAssertEqual(sunrise.timeIntervalSince1970, city.sunrise.timeIntervalSince1970, accuracy: testAccuracy, "\(city.name): \(sunrise) not close to \(city.sunrise)")
            ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mxn/hub/mapbox-navigation-ios/Carthage/Checkouts/Solar/SolarTests/SolarTests.swift:45:13: note: overloads for 'XCTAssertEqual' exist with these partially matching parameter lists: (@autoclosure () throws -> T, @autoclosure () throws -> T, @autoclosure () -> String, file: StaticString, line: UInt), (@autoclosure () throws -> T?, @autoclosure () throws -> T?, @autoclosure () -> String, file: StaticString, line: UInt), (@autoclosure () throws -> ArraySlice<T>, @autoclosure () throws -> ArraySlice<T>, @autoclosure () -> String, file: StaticString, line: UInt), (@autoclosure () throws -> ContiguousArray<T>, @autoclosure () throws -> ContiguousArray<T>, @autoclosure () -> String, file: StaticString, line: UInt), (@autoclosure () throws -> [T], @autoclosure () throws -> [T], @autoclosure () -> String, file: StaticString, line: UInt), (@autoclosure () throws -> [T : U], @autoclosure () throws -> [T : U], @autoclosure () -> String, file: StaticString, line: UInt)
            XCTAssertEqual(sunrise.timeIntervalSince1970, city.sunrise.timeIntervalSince1970, accuracy: testAccuracy, "\(city.name): \(sunrise) not close to \(city.sunrise)")
            ^
/Users/mxn/hub/mapbox-navigation-ios/Carthage/Checkouts/Solar/SolarTests/SolarTests.swift:66:13: error: argument labels '(_:, _:, accuracy:, _:)' do not match any available overloads
            XCTAssertEqual(sunset.timeIntervalSince1970, city.sunset.timeIntervalSince1970, accuracy: testAccuracy, "\(city.name): \(sunset) not close to \(city.sunset)")
            ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mxn/hub/mapbox-navigation-ios/Carthage/Checkouts/Solar/SolarTests/SolarTests.swift:66:13: note: overloads for 'XCTAssertEqual' exist with these partially matching parameter lists: (@autoclosure () throws -> T, @autoclosure () throws -> T, @autoclosure () -> String, file: StaticString, line: UInt), (@autoclosure () throws -> T?, @autoclosure () throws -> T?, @autoclosure () -> String, file: StaticString, line: UInt), (@autoclosure () throws -> ArraySlice<T>, @autoclosure () throws -> ArraySlice<T>, @autoclosure () -> String, file: StaticString, line: UInt), (@autoclosure () throws -> ContiguousArray<T>, @autoclosure () throws -> ContiguousArray<T>, @autoclosure () -> String, file: StaticString, line: UInt), (@autoclosure () throws -> [T], @autoclosure () throws -> [T], @autoclosure () -> String, file: StaticString, line: UInt), (@autoclosure () throws -> [T : U], @autoclosure () throws -> [T : U], @autoclosure () -> String, file: StaticString, line: UInt)
            XCTAssertEqual(sunset.timeIntervalSince1970, city.sunset.timeIntervalSince1970, accuracy: testAccuracy, "\(city.name): \(sunset) not close to \(city.sunset)")
            ^

@1ec5
Copy link
Collaborator

1ec5 commented Aug 25, 2017

#28 fixes Carthage compatibility on iOS. #29 tracks adding macOS and tvOS support via Carthage.

@ceeK ceeK closed this as completed in #28 Oct 7, 2017
@1ec5 1ec5 added the build label Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants