• FastMonkey iOS11 踩坑记 at 2018年04月14日

    在 XCTestWD.XCTestWD 这个后边加一个后缀,因为你的 appleid 注册了别的项目被占用了

  • fastmonkey 自我扫盲贴 at 2018年04月13日

    请问下,你的这个问题解决了吗?我这边按照教程操作时,也出现了这个问题。

    Ld /Users/didi/Library/Developer/Xcode/DerivedData/XCTestWD-ehrzcglifdezddhbggaxxxevomay/Build/Products/Debug-iphoneos/XCTestWD.app/XCTestWD normal arm64
    cd /Users/didi/Fastmonkey/XCTestWD-master/XCTestWD
    export IPHONEOS_DEPLOYMENT_TARGET=9.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/didi/.rvm/gems/ruby-2.1.10/bin:/Users/didi/.rvm/gems/ruby-2.1.10@global/bin:/Users/didi/.rvm/rubies/ruby-2.1.10/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin:/Users/didi/Library/Android/sdk/tools:/Users/didi/Library/Android/sdk/platform-tools:/Users/didi/apache-jmeter-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/didi/.rvm/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -L/Users/didi/Library/Developer/Xcode/DerivedData/XCTestWD-ehrzcglifdezddhbggaxxxevomay/Build/Products/Debug-iphoneos -F/Users/didi/Library/Developer/Xcode/DerivedData/XCTestWD-ehrzcglifdezddhbggaxxxevomay/Build/Products/Debug-iphoneos -F/Users/didi/Fastmonkey/XCTestWD-master/XCTestWD/../Carthage/Build/iOS -filelist /Users/didi/Library/Developer/Xcode/DerivedData/XCTestWD-ehrzcglifdezddhbggaxxxevomay/Build/Intermediates.noindex/XCTestWD.build/Debug-iphoneos/XCTestWD.build/Objects-normal/arm64/XCTestWD.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/didi/Library/Developer/Xcode/DerivedData/XCTestWD-ehrzcglifdezddhbggaxxxevomay/Build/Intermediates.noindex/XCTestWD.build/Debug-iphoneos/XCTestWD.build/Objects-normal/arm64/XCTestWD_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fembed-bitcode-marker -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -add_ast_path -Xlinker /Users/didi/Library/Developer/Xcode/DerivedData/XCTestWD-ehrzcglifdezddhbggaxxxevomay/Build/Intermediates.noindex/XCTestWD.build/Debug-iphoneos/XCTestWD.build/Objects-normal/arm64/XCTestWD.swiftmodule -framework Swifter -Xlinker -dependency_info -Xlinker /Users/didi/Library/Developer/Xcode/DerivedData/XCTestWD-ehrzcglifdezddhbggaxxxevomay/Build/Intermediates.noindex/XCTestWD.build/Debug-iphoneos/XCTestWD.build/Objects-normal/arm64/XCTestWD_dependency_info.dat -o /Users/didi/Library/Developer/Xcode/DerivedData/XCTestWD-ehrzcglifdezddhbggaxxxevomay/Build/Products/Debug-iphoneos/XCTestWD.app/XCTestWD
    ld: warning: directory not found for option '-F/Users/didi/Fastmonkey/XCTestWD-master/XCTestWD/../Carthage/Build/iOS'
    ld: framework not found Swifter
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    2018-04-13 21:36:27.827 xcodebuild[87354:1368155] Error Domain=IDETestOperationsObserverErrorDomain Code=14 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /var/folders/2w/tt1p_4td3yq9xlbl7c2t4jn00000gn/T/com.apple.dt.XCTest/IDETestRunSession-1ECEA01F-BB7D-45AD-9CCE-65A7921FDBCA/XCTestWDUITests-C45C2C09-797F-45C7-9E6B-D470986D8814/Session-XCTestWDUITests-2018-04-13_213626-XBYpp5.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /var/folders/2w/tt1p_4td3yq9xlbl7c2t4jn00000gn/T/com.apple.dt.XCTest/IDETestRunSession-1ECEA01F-BB7D-45AD-9CCE-65A7921FDBCA/XCTestWDUITests-C45C2C09-797F-45C7-9E6B-D470986D8814/Session-XCTestWDUITests-2018-04-13_213626-XBYpp5.log}

    Testing failed:
    Linker command failed with exit code 1 (use -v to see invocation)
    ** TEST FAILED **

    The following build commands failed:
    Ld /Users/didi/Library/Developer/Xcode/DerivedData/XCTestWD-ehrzcglifdezddhbggaxxxevomay/Build/Products/Debug-iphoneos/XCTestWD.app/XCTestWD normal arm64
    (1 failure)