Skip to content

Instantly share code, notes, and snippets.

@KazuCocoa
Created December 11, 2020 22:16
Show Gist options
  • Save KazuCocoa/eba4032c83c8b36583d0d559f7d233f1 to your computer and use it in GitHub Desktop.
Save KazuCocoa/eba4032c83c8b36583d0d559f7d233f1 to your computer and use it in GitHub Desktop.
% xcodebuild build-for-testing test-without-building -project /Users/kazu/.nvm/versions/node/v15.4.0/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/kazu/GitHub/ruby_lib_core/tmp/Simulator -destination id=C3295F6E-E3A3-458B-AAEF-DB0ACB8AFEFD IPHONEOS_DEPLOYMENT_TARGET=14.3 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO
objc[79932]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x204c7e7a0) and ?? (0x1163782b8). One of the two will be used. Which one is undefined.
objc[79932]: Class AMSupportURLSession is implemented in both ?? (0x204c7e7f0) and ?? (0x116378308). One of the two will be used. Which one is undefined.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/kazu/.nvm/versions/node/v15.4.0/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/kazu/GitHub/ruby_lib_core/tmp/Simulator -destination id=C3295F6E-E3A3-458B-AAEF-DB0ACB8AFEFD IPHONEOS_DEPLOYMENT_TARGET=14.3 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO
User defaults from command line:
    IDEDerivedDataPathOverride = /Users/kazu/GitHub/ruby_lib_core/tmp/Simulator
Build settings from command line:
    COMPILER_INDEX_STORE_ENABLE = NO
    GCC_TREAT_WARNINGS_AS_ERRORS = 0
    IPHONEOS_DEPLOYMENT_TARGET = 14.3
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
error: Building for iOS Simulator, but the embedded framework 'CocoaAsyncSocket.framework' was built for iOS + iOS Simulator. (in target 'WebDriverAgentRunner' from project 'WebDriverAgent')
error: Building for iOS Simulator, but the embedded framework 'YYCache.framework' was built for iOS + iOS Simulator. (in target 'WebDriverAgentRunner' from project 'WebDriverAgent')
error: Building for iOS Simulator, but the linked and embedded framework 'YYCache.framework' was built for iOS + iOS Simulator. (in target 'WebDriverAgentLib' from project 'WebDriverAgent')
error: Building for iOS Simulator, but the linked and embedded framework 'CocoaAsyncSocket.framework' was built for iOS + iOS Simulator. (in target 'WebDriverAgentLib' from project 'WebDriverAgent')
2020-12-11 11:15:06.273 xcodebuild[79932:564522] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphonesimulator14.3-x86_64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/kazu/GitHub/ruby_lib_core/tmp/Simulator/Build/Products/WebDriverAgentRunner_iphonesimulator14.3-x86_64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x117851da0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
** TEST BUILD FAILED **
Testing started
2020-12-11 11:15:06.281 xcodebuild[79932:564519]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/kazu/GitHub/ruby_lib_core/tmp/Simulator/Logs/Test/Test-WebDriverAgentRunner-2020.12.11_11-15-05--0800.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-F072D987-34EC-4BA0-9CA2-6A0CB3F2EB3F/WebDriverAgentRunner-3FCEBC69-C782-4E46-92E6-C822A0DFA494/Session-WebDriverAgentRunner-2020-12-11_111506-4eA68e.log
2020-12-11 11:15:06.282 xcodebuild[79932:564458] [MT] IDETestOperationsObserverDebug: (90CDF644-21A7-4F95-991A-5758A13F1183) Beginning test session WebDriverAgentRunner-90CDF644-21A7-4F95-991A-5758A13F1183 at 2020-12-11 11:15:06.282 with Xcode 12C33 on target <DVTiPhoneSimulator: 0x136e56aa0> {
        SimDevice: iPhone 11 (C3295F6E-E3A3-458B-AAEF-DB0ACB8AFEFD, iOS 14.3, Booted)
} (14.3 (18C61))
2020-12-11 11:15:06.285 xcodebuild[79932:564458] [MT] IDETestOperationsObserverDebug: (90CDF644-21A7-4F95-991A-5758A13F1183) Finished requesting crash reports. Continuing with testing.
*** If you believe this error represents a bug, please attach the result bundle at /Users/kazu/GitHub/ruby_lib_core/tmp/Simulator/Logs/Test/Test-WebDriverAgentRunner-2020.12.11_11-15-05--0800.xcresult
2020-12-11 11:15:09.270 xcodebuild[79932:564458] [MT] IDETestOperationsObserverDebug: 2.991 elapsed -- Testing started completed.
2020-12-11 11:15:09.270 xcodebuild[79932:564458] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2020-12-11 11:15:09.270 xcodebuild[79932:564458] [MT] IDETestOperationsObserverDebug: 2.991 sec, +2.991 sec -- end
Test session results, code coverage, and logs:
    /Users/kazu/GitHub/ruby_lib_core/tmp/Simulator/Logs/Test/Test-WebDriverAgentRunner-2020.12.11_11-15-05--0800.xcresult
Testing failed:
    Building for iOS Simulator, but the embedded framework 'CocoaAsyncSocket.framework' was built for iOS + iOS Simulator.
    Building for iOS Simulator, but the embedded framework 'YYCache.framework' was built for iOS + iOS Simulator.
    Building for iOS Simulator, but the linked and embedded framework 'YYCache.framework' was built for iOS + iOS Simulator.
    Building for iOS Simulator, but the linked and embedded framework 'CocoaAsyncSocket.framework' was built for iOS + iOS Simulator.
    WebDriverAgentRunner:
        WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/kazu/GitHub/ruby_lib_core/tmp/Simulator/Logs/Test/Test-WebDriverAgentRunner-2020.12.11_11-15-05--0800.xcresult. (Underlying Error: Cannot launch simulated executable: no file found at /Users/kazu/GitHub/ruby_lib_core/tmp/Simulator/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app))
** TEST EXECUTE FAILED **
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment