Device build fails after upgrading to Xcode 8

前端 未结 11 1174
刺人心
刺人心 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:23

    cd /Users/xxx/Library/Developer/Xcode/DerivedData

    clean ~

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

    Use automatically manage signing:

    Go to Target --> General --> Signing, check the Automatically manage siging.

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

    Can you try deleting the app from the device and also deleting the derived directory in Xcode and trying again

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

    Clean the project and clean the build folder.

    • Project->Clean

      Project-> (hold alt) Clean

    I have ran into many issues after upgrading and a full clean has fixed them.

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

    Delete the app from the device, then clean the project. It works for me. Hope

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

    Damn Xcode...

    After upgrading to High Sierra and Xcode 9, I have spend a lot of time... After combining all the answers here, I solved it in the following way.

    1. Delete the derived data as others said.
    2. Clean the project as others said.
    3. Restart the OS <-- This was the key. Only after a reboot it showed the password popup.
    4. When the popup shows that says xcode wants password to something, type your login password, and DO NOT PRESS ALLOW, but PRESS ALWAYS ALLOW. <- Important!
    0 讨论(0)
提交回复
热议问题