nicholas nicholas - 21 days ago 12
iOS Question

XCode 8 Signing

I'm trying to test Push notifications on a device, but can't get my app to install.

Take a look a this screen grab.

XCode Settings

I have provisioning profile attached that I've been using to successfully push to TestFlight and have used to push previous version to the App Store. But running it on my device locally and:


App installation failed

A valid provisioning profile for this executable was not found.


What's going on here?

I'm even more confused by "automatic" code signing. I turn it on, set my "Team" and:


App installation failed

A valid provisioning profile for this executable was not found.


Even if that did work, would the push notifications certs on the server now send to the right place?

Answer

Turns out my problem was pretty simple. I have two targets: MyApp and MyAppTest. When installing on a device locally, I guess it also installs the tests, as setting that to automatically sign and selecting the team seemed to fix it.

Comments