Terminated xcodebuild since it produced no output for too long

前端 未结 4 1647
面向向阳花
面向向阳花 2021-02-13 20:15

I\'ve updated to the new Xcode 6.1 and server 4.0. I was able to get continuous integration on the simulators but not the devices in the previous version. Now that I\'ve updated

相关标签:
4条回答
  • 2021-02-13 21:03

    When I changed my signing certificate on my Xcode CI machine I could see that the bots got stuck on signing the build products.

    Checking running processes on the Xcode CI machine showed me what executable was trying to access my signing certificate

    /usr/bin/codesign --force --sign 043...DE2A --entitlements /Library/Develop...
    

    I opened Keychain and found my signing certificate in the System keychain, cmd+i to show info and added codesign to the list of executables that could access it without authenticating.

    enter image description here

    0 讨论(0)
  • 2021-02-13 21:10

    For me the solution to this problem was to open Xcode on my server, go to Preferences -> Accounts and make sure that it had downloaded all my provisioning profiles.

    0 讨论(0)
  • 2021-02-13 21:11

    How many devices/simulators are you testing against? Try cutting it back to one simulator, and seeing if it completes.

    0 讨论(0)
  • 2021-02-13 21:13

    In my case, we use Crashlytics in our project, which contains a run script to run Crashlytics framework after build:

    ./Crashlytics.framework/run xxxxxxxxxxxxxxxxxxxxxxxxxx
    

    This script will hang the Xcode server bot.

    After removing the script (or create another scheme without any run script for Xcode server bot), it works again.

    Watch out any run script in your project scheme.

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