My apps will no long install on my devices in my development environment after installing Xcode 8 with the error : App installation failed “A valid provisioning profile for this executable was not found.”
I’ve seen quite a few questions here on the subject and I’ve slowly gone through all the answers but to no avail. I thought it might have been ios10 but I keep one of my devices at ios9, that one don’t work either.
What I’ve done :
I’ve been stuck on this a day now and it’s really pushing back my next release as I have to test on real devices, the error message is frustratingly vague when everything seems in place, am I missing a log file somewhere that might give me a hint?
I fixed it. I suddenly noticed XCTest was being copied over to the phone. It looks like my testing target is also being installed? I did not think that would happen when building and running my app, code signing was not required before, it certainly wasn't set.
I set the testing target to also Automatically manage signing and now it works! I hope this helps someone else.
I fixed it after I deselected the 'Automatically manage signing' in the testing Target.
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