I am getting the error below when I connect the iPhone to my PC and try to run the application from Xcode. Where as in emulator I am able to run the application without any problem.
Code Sign error: No matching provisioning profiles found: None of the valid provisioning profiles include the devices:
iPhone
What could be the issue? I already found the answer here None of the valid provisioning profiles include the devices but confused that's the same issue as mine. I am newbie to IOS.
Click on your provisioning profile, click on Edit. In Device section select your added device and generate provisioning certificate again. Download it and double click. It will automatically added in your Xcode.
The easiest way to manage the provisioning profiles on the iPhone is to open Xcode and select the menu item "Devices and Simulators" in the Window menu. Right-click on your iPhone XS and select "Show provisioning profiles". You'll then be able to see the installed profiles, add new ones and delete existing profiles.
A provisioning profile links your signing certificate and App ID so that you can sign apps to install and launch on iOS devices. You must have a development provisioning profile to sign apps for use with iOS Gateway version 3.4 and later.
You need to setup profile in Build Settings
of your project. Make a new profile after adding UDID
of your iPhone on Developer Member Centre (If you haven't added it already).
Please refer Maintaining Identifiers, Devices, and Profiles if you want to go through whole process of Managing Provisioning Profile
If you want to Add Device ID in existing Provisioning Profile
, follow these steps:
After performing above steps, download Updated Provisioning Profile
, but before installing it, delete Old Provisioning Profile
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With