build faild with carthage (xcode 9)
Closed this issue · 4 comments
aight8 commented
carthage output
$ carthage bootstrap --platform ios
*** Checking out Tor.framework at "c0db49bc56e77415f4168e97e88020f975786254"
*** xcodebuild output can be found in /var/folders/jh/wpv2dhvx5pngzgvkykmb2jp00000gp/T/carthage-xcodebuild.W2J66m.log
*** Building scheme "Tor-iOS" in Tor.xcodeproj
Build Failed
Task failed with exit code 6:
/usr/bin/xcrun xcodebuild -project /shared/projects/dmx/ios/Carthage/Checkouts/Tor.framework/Tor.xcodeproj -scheme Tor-iOS -configuration Release -derivedDataPath /Users/xxx/Library/Caches/org.carthage.CarthageKit/DerivedData/Tor.framework/c0db49bc56e77415f4168e97e88020f975786254 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build (launched in /shared/projects/dmx/ios/Carthage/Checkouts/Tor.framework)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/jh/wpv2dhvx5pngzgvkykmb2jp00000gp/T/carthage-xcodebuild.W2J66m.log
build log
/usr/bin/xcrun xcodebuild -project /shared/projects/dmx/ios/Carthage/Checkouts/Tor.framework/Tor.xcodeproj -scheme Tor-iOS -configuration Release -derivedDataPath /Users/xxx/Library/Caches/org.carthage.CarthageKit/DerivedData/Tor.framework/c0db49bc56e77415f4168e97e88020f975786254 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build (launched in /shared/projects/dmx/ios/Carthage/Checkouts/Tor.framework)User defaults from command line:
IDEDerivedDataPathOverride = /Users/xxx/Library/Caches/org.carthage.CarthageKit/DerivedData/Tor.framework/c0db49bc56e77415f4168e97e88020f975786254
Build settings from command line:
BITCODE_GENERATION_MODE = bitcode
CARTHAGE = YES
CODE_SIGN_IDENTITY =
CODE_SIGNING_REQUIRED = NO
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphoneos11.0
Removing '/Users/xxx/Library/Caches/org.carthage.CarthageKit/DerivedData/Tor.framework/c0db49bc56e77415f4168e97e88020f975786254/Build'
2017-08-04 03:03:18.931 xcodebuild[14560:9247073] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEPlugins_XCBuildSupport/IDEPlugins-13209.6/XCBuildSupport/ServiceSupport/IDEXCBuildProvisioning.m:119
Details: (sdk) should not be nil.
Function: void IDEXCBuildProvisioningTaskInputs(XCBProvisioningTaskInputsSourceData * _Nonnull __strong, IDEProvisioningManager * _Nonnull __strong, id<IDEProvisionable> _Nonnull __strong, IDERunDestination * _Nullable __strong, void (^ _Nonnull __strong)(XCBProvisioningTaskInputs * _Nonnull __strong))
Thread: <NSThread: 0x7f8220114200>{number = 4, name = (null)}
Hints:
Backtrace:
0 -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1 _DVTAssertionHandler (in DVTFoundation)
2 _DVTAssertionFailureHandler (in DVTFoundation)
3 IDEXCBuildProvisioningTaskInputs (in XCBuildSupport)
4 -[IDEXCBuildServiceBuildOperation provisioningTaskInputsWithTargetGUID:provisioningSourceData:completion:] (in XCBuildSupport)
5 0x00000001198df169 (in XCBuild)
6 0x00000001198e79e8 (in XCBuild)
7 0x00000001198e5361 (in XCBuild)
8 0x00000001198e755c (in XCBuild)
9 0x0000000119901560 (in XCBuild)
10 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ (in Foundation)
11 -[NSBlockOperation main] (in Foundation)
12 -[__NSOperationInternal _start:] (in Foundation)
13 _dispatch_client_callout (in libdispatch.dylib)
14 _dispatch_block_invoke_direct (in libdispatch.dylib)
15 _dispatch_client_callout (in libdispatch.dylib)
16 _dispatch_block_invoke_direct (in libdispatch.dylib)
17 dispatch_block_perform (in libdispatch.dylib)
18 __NSOQSchedule_f (in Foundation)
19 _dispatch_client_callout (in libdispatch.dylib)
20 _dispatch_continuation_pop (in libdispatch.dylib)
21 _dispatch_async_redirect_invoke (in libdispatch.dylib)
22 _dispatch_root_queue_drain (in libdispatch.dylib)
23 _dispatch_worker_thread4 (in libdispatch.dylib)
24 _pthread_wqthread (in libsystem_pthread.dylib)
25 start_wqthread (in libsystem_pthread.dylib)
herenickname commented
......
export variant=normal
/bin/bash /Users/ekifox/Documents/namepro/Carthage/Checkouts/Tor.framework/Tor/openssl.sh
error: can't change directory to '/Users/ekifox/Documents/namepro/Carthage/Checkouts/Tor.framework/Tor/openssl' (No such file or directory)
** BUILD FAILED **
The following build commands failed:
ExternalBuildToolExecution openssl-iOS
(1 failure)
mylogon341 commented
Did either of you get this to work? I'm having the same problem
tladesignz commented
Provided a fix for ../Tor.framework/Tor/openssl' (No such file or directory)
.
Does this resolve your issues?
Ahmedbutt commented
Having same issue? Anybody wth a solution