Xcode process launch failed: Security

后端 未结 14 2248
谎友^
谎友^ 2020-11-30 16:13

I have been developing an app for 1 or 2 weeks now and just yesterday I have updated my iPhone 5S to the iOS 8 GM. Everything worked fine and I could test on my device as we

14条回答
  •  孤街浪徒
    2020-11-30 16:55

    Hey so the accepted answer works, except if you need to debug the initial launch of the app. However I think that answer is more of a work around, and not an actual solution. From my understanding this message occurs when you have some weirdness in your provisioning profile / cert setup so make extra sure everything is in tip-top shape in that dept. before ramming your head against the wall repeatedly.

    What worked for me was as follows from the apple docs:

    Provisioning Profiles Known Issue If you have upgraded to the GM seed from other betas you may see your apps crashing due to provisioning profile issues.

    Workaround:

    1. Connect the device via USB to your Mac

    2. Launch Xcode Choose Window ->Devices

    3. Right click on the device in left column, choose "Show Provisioning Profiles"

    4. Click on the provisioning profile in question

    5. Press the "-" button Continue to removing all affected profiles.

    6. Re-install the app

    Make sure you right click on the image of the device not the name of the device or you won't see the provisioning profiles option. I restored my new phone from an old backup and there was a lot of cruft hanging around, i also had 2 different dev. certs active (not sure why) but i deleted one, made a new profile got rid of all the profiles on device and it worked.

    Hope this helps someone else.

提交回复
热议问题