1

I just transferred my app account and this is the first time to see the error

App installation failed. A valid provisioning profile for this executable was not found.

The app build successfully and runs just fine in the simulators but when I test it in my iPhones ( 2 iPhones) I get this error. My account hasn't expired and I think when it's something with the Keychain because transferring the app removed the keychain but when I check in developer.apple.com everything is active and key is fine.

Dialog with "App installation failed. A valid provisioning profile for this executable was not found"

BSMP
  • 4,596
  • 8
  • 33
  • 44
AlmoDev
  • 969
  • 2
  • 18
  • 46
  • 2
    Possible duplicate of [XCode :7 App installation failed :A valid provisioning profile for this executable was not found](https://stackoverflow.com/questions/33126849/xcode-7-app-installation-failed-a-valid-provisioning-profile-for-this-executab) – user3486184 Aug 14 '17 at 22:29
  • Delete all existing provisioning profiles from Mac and download correspondence provisioning profile from your apple developer account and install it in keychain. And also make sure that the device you are installing the app into is listed in the provisioning profile. – Rahul Kumar Aug 15 '17 at 07:02
  • I tried all of your solutions guys but nothing happened – AlmoDev Aug 16 '17 at 00:59
  • @RahulKumar do you mind explaining how to install provisioning profile in keychain? I kind of didn't get it. Thank you – AlmoDev Aug 16 '17 at 18:14
  • Describe what you mean by "transferred my app account". To a new machine? Did you export the private key related to the certificate? Apple doesn't have that, so you would need to move that yourself. Or, even better would be to switch to automatic code signing if you don't have a valid reason not to. – wottle Aug 16 '17 at 18:16
  • @leo0019, After downloading the provisioning profile in Mac, double click on it to install in Keychain so that it will be available to Xcode. – Rahul Kumar Aug 17 '17 at 17:14

1 Answers1

1

Click on Project name on XCode, go to Build Setting->Signing->Provisioning Profile

Set the provisioning Profile here and come back to the General Tab, Check if you have the correct Provisioning Profile in Signing Section.

Clean your project and Build it once again.

sara
  • 39
  • 5