Device build fails after upgrading to Xcode 8

前端 未结 11 1175
刺人心
刺人心 2020-12-28 21:42

Since upgrading to Xcode 8 I cannot run any app on my iPhone. The build fails with error:

error: Task failed with exit 0 signal 11

相关标签:
11条回答
  • 2020-12-28 22:36

    For me this issue was due to expired certificate. I updated my certificate and provisioning profile and issue got solved.

    0 讨论(0)
  • 2020-12-28 22:37

    I found that by deleting my account under preferences and re-adding it, I can usually solve this problem.

    1. Click the Xcode menu and select Preferences...
    2. Select the Accounts tab.
    3. Select your developer account under "Apple IDs"
    4. Click the "-" button at the bottom to remove it.
    5. Add your developer account back with the "+" button.
    0 讨论(0)
  • 2020-12-28 22:41

    If you still face this issue and you have upgraded to MacOS Sierra. You can look in the keychain and delete a system key named "1". This solved my problem "Task failed with exit 0 signal 5"

    0 讨论(0)
  • 2020-12-28 22:44

    In my case,

    1. Close Xcode.
    2. Clean Derived data.
    3. Open Xcode.
    4. Clean Product.
    5. Run your app.
    0 讨论(0)
  • 2020-12-28 22:45

    Had the exact same issue. First cleaned the Product then restarted the computer. Worked for me!

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