xcode build fails with error code 65 without indicative message

后端 未结 4 932
别那么骄傲
别那么骄傲 2021-01-07 22:52

I\'m experiencing weird behaviour with my iPhone CI job (running in TeamCity). Every once in a while our build fails without any indicative error in the build log. The build

相关标签:
4条回答
  • 2021-01-07 23:23

    You need to remove platform ios - cordova platform rm ios, and then add platform - cordova platform add ios. now build ios - cordova build ios

    0 讨论(0)
  • 2021-01-07 23:37

    I also had a similar problem, in my case it was caused by the fact I'm using both Xcode 7.2 and Xcode 6.4 side by side. When the simulator of Xcode 6.4 is open (iOS Simulator 8.4) and I try to start a test from the commandline using Xcode 7.2 I get this 65 error.

    Eg. when iOS Simulator 8.4 is open:

    # sudo xcode-select -s "/Applications/Xcode 7.2.app/Contents/Developer"
    # xcodebuild test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -workspace "/path/to/MyWorkspace.xcworkspace" -scheme "MyProject" -destination "platform=iOS Simulator,name=iPhone 6,OS=9.2"
    (cut)
    ** TEST FAILED **
    # echo $?
    65
    

    Solution is to kill the simulator before starting the test:

    # killall "iOS Simulator"
    # killall "Simulator"
    

    The process is called "iOS Simulator" for XCode 6.4 and earlier and called "Simulator" for later XCode versions.

    0 讨论(0)
  • 2021-01-07 23:42

    I hit this when updating to Xcode 8, in my case it was because I had set the PROVISIONING_PROFILE_SPECIFIER setting incorrectly

    0 讨论(0)
  • 2021-01-07 23:43

    Had the same problem as build failed jenkins iOS no error

    tl;dr - CopyPNG failed because of two images with the same name.

    0 讨论(0)
提交回复
热议问题