After I upgraded to Xcode 8, I am unable to debug on the device due to the following error:
App installation failed. No code signature found.
My setup, observations and what I've tried so far:
I got the same problem here, I have five project, and the four of them can not debug on device and only one can debug on device. I compared the Xcode project files and did not figure it out. I believe it is a provisioning profile issue. it seem that the Xcode will generate the development provisioning profile in your Xcode and did not upload it to your apple developer account.
I finally solve my problem, it seems like a third framework manual set the codesign identity or privisioning profile in the signing seciton of build setting. then you install this third framework, in the codesigning phase, Xcode will search the non-existing codesign identity or privisioning profile for this framework, then it failed.
I was finally able to solve it with the following:
carthage
(0.18 is currently the latest version). For some reason the code signing was not applied correctly.PROVISIONING_PROFILE
and PROVISIONING_PROFILE_SPECIFIER
both to the same and correct profileautomatically manage signing
In conclusion, all my provisioning profiles were correct and the problem was only related to code signing the frameworks and not to the app itself. If the error message would have stated where specifically No code signature
could have been found, it would have saved quite some debugging time...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With