None of the valid provisioning profiles include iPhone devices

I get the error message below when I connect the iPhone to my PC and try to run the application from Xcode. Where, as in the emulator, I can run the application without any problems.

Code Sign error: No matching provisioning profiles found: None of the valid provisioning profiles include the devices: iPhone 

Screenshot for error

What could be the problem? I already found the answer here. None of the valid provisioning profiles includes devices , but confuses the same problem as mine. I am new to iOS.

+5
source share
2 answers

You need to set up a profile in the Build Settings your project. Create a new profile after adding the UDID your iPhone to the Developer Center for Developers (if you have not added it yet).

Please refer to Maintaining IDs, Devices, and Profiles if you want to go through the entire process of managing your Provisioning Profile

If you want to add a device identifier to an existing Provisioning Profile , follow these steps:

  • Go to Participant Center
  • Select a Provisioning Profile
  • Click "Edit."
  • Click on the CheckBox with the appropriate device name under the devices tab.

After completing the above steps, download the Updated Provisioning Profile , but uninstall the Old Provisioning Profile before installing it.

+4
source

This means that the provisioning profile does not contain the identifier of the device of the phone on which you are trying to run the application. The other answer you mentioned looks like the right way to solve it (go to developer.apple.com and register your iPhone there, then specify the device identifier in the provisioning profile and finally update the profiles in Xcode). In any case, signing the code is the most annoying thing I find in iOS apps.

+4
source

Source: https://habr.com/ru/post/1240499/


All Articles