appium 1.18.2 - Building scheme "YYCache iOS" in YYCache.xcodeproj - Task failed with exit code 65:
See original GitHub issueHi there, first I want to THANK YOU for all the efforts put into the Xcode 12 update.
I have installed appium 1.18.2
+ carthage 0.36
and tried to run ./Scripts/bootstrap.sh -d
and I get this failure
appium-webdriveragent ./Scripts/bootstrap.sh -d
Fetching dependencies
Applying Carthage build workaround to exclude Apple Silicon binaries. See https://github.com/Carthage/Carthage/issues/3019 for more details
*** Checking out CocoaAsyncSocket at "72e0fa9e62d56e5bbb3f67e9cfd5aa85841735bc"
*** Checking out YYCache at "1.1.0"
*** xcodebuild output can be found in /var/folders/41/0dtvw_tx4v11gntm929t_lsm0000gs/T/carthage-xcodebuild.GNEjYl.log
*** Building scheme "tvOS Framework" in CocoaAsyncSocket.xcodeproj
*** Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj
*** Building scheme "YYCache iOS" in YYCache.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Checkouts/YYCache/Framework/YYCache.xcodeproj -scheme YYCache\ iOS -configuration Release -derivedDataPath /Users/testuser/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A7209/YYCache/1.1.0 -sdk iphonesimulator -destination platform=iOS\ Simulator,id=B92EA767-3736-486E-AF53-4614BF26EFBA -destination-timeout 3 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES build (launched in /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Checkouts/YYCache)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/41/0dtvw_tx4v11gntm929t_lsm0000gs/T/carthage-xcodebuild.GNEjYl.log
If I manually run
/usr/bin/xcrun xcodebuild -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Checkouts/YYCache/Framework/YYCache.xcodeproj -scheme YYCache\ iOS -configuration Release -derivedDataPath /Users/testuser/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A7209/YYCache/1.1.0 -sdk iphonesimulator -destination platform=iOS\ Simulator,id=B92EA767-3736-486E-AF53-4614BF26EFBA -destination-timeout 3 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES build
but I replace ONLY_ACTIVE_ARCH=NO
with ONLY_ACTIVE_ARCH=YES
then the build is successful.
How can I change that NO to YES value into the bootstrap context? If I re-run ./Scripts/bootstrap.sh -d
it will not skip the YYCache setup so it will fail again.
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (4 by maintainers)
Top GitHub Comments
Awesome thanks @shaky
Nice work @mykola-mokhnach and @Dan-Maor
Something looks really odd on your build machine. We are unable to reproduce any of the mentioned issues neither locally nor in Azure CI. Try to deploy the module on a clean machine. Although the workaround is ok if it works for you.