Since yesterday I\'ve been getting the following error when trying run an app on my device: \"A valid provisioning profile for this executable was not found.\". This is afte
Encountered same issue, we've had multiple configurations in Xcode project, let's say Debug-Staging
, Debug-Production
. We then unified those and used only one configuration Debug
. But the old one (no longer existing) was stuck in scheme for run phase, so once you tried to run, Xcode showed you this message. Which makes sense as provisioning profiles are set up in build settings based on configuration.
So run scheme looked like this:
While project configurations were setup like this.
Changing scheme to use configuration that is still available in project is what fixed this issue for me.