Reputation: 703
I unfortunately removed the ios distribution certificate of my application. I want to create an other one but have the error when I build my app: App installation failed: A valid provisioning profile for this executable was not found.
Here is my process to create a provisioning profile:
Then, when I build and run with release mode in my iphone, I have this error: App installation failed: A valid provisioning profile for this executable was not found.
I think that my iphone is not linked with the production provisioning profile, Nevertheless it is registered in my developer account.
Upvotes: 2
Views: 2682
Reputation: 393
In my case, I did reset all certificate and provisioning, but no luck.
Then I realized my phone's date time was wrong, the year is 2017. Then I reset date time setting. Build it again and everything works.
So, check your phone's date time setting.
Upvotes: 2
Reputation: 3031
Following the last hint, I would suggest you try the following:
In Apple's Member-Center, go to "Certificates, Identifiers and Profiles", and under "iOS Apps" choose "Devices"
Make sure your device is listed.
Go to the section "Provisioning Profiles" -> "Distribution", click the Ad-Hoc profile and then click "Edit".
In the "Certificates" section, make sure that the distribution certificate is checked.
In the "Devices" section, make sure that your device is checked.
Click "Generate", re-download and re-build.
good luck.
Upvotes: 2