0

I want to test my app in release mode so I changed the schemes and then tried to run it on my device when it said "A valid provisioning profile for this executable was not found"

Then I archived the file, code signed it and then exported an .ipa file, for Enterprise and Ad-Hoc testing, to run on my device. I tried to install this with the iPhone Configuration Utility and even then it gave me the same error. What am I doing wrong?

Rameez Hussain
  • 6,414
  • 10
  • 56
  • 85
  • Check code-signing under Build settings, for AdHoc or release is it pointing to right Certificate i.e., Ad-Hoc Cert and Provisioning profile ? – 0x8badf00d Jul 10 '13 at 15:44
  • Oh. I just checked. It is pointing towards a iOS distribution certificate. I wanted to test it in release mode to check if my push notifications and the corresponding APNS settings were working properly. So this means that I have to create a new ad-hoc provisioning profile? – Rameez Hussain Jul 10 '13 at 15:49
  • What are you trying to accomplish, is it to see why IPA wouldn't install on the particular device ? – 0x8badf00d Jul 10 '13 at 15:51
  • I am trying to check if the push notifications are working with the distribution certificates. – Rameez Hussain Jul 10 '13 at 15:53
  • Are you on an Enterprise account or standard/company account? – Dan Jul 11 '13 at 04:12
  • I'm on a standard account. – Rameez Hussain Jul 11 '13 at 11:06

1 Answers1

1

Have a look at the bundle ID. When you create Distribution certificate with the bundle ID which was used for testing purpose , then it will be blocked for Distribution and release purpose. So even if you re-create Ad-HOC certificate with the same bundle ID(Which was used for Distribution cerfiticate) it does not work.

Try adding a new bundle ID and create new certificate with the new ID. It WORKS....

Thanks Jithen

Coder
  • 1,661
  • 4
  • 27
  • 50