Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

None of the valid provisioning profiles include the devices iPhone

Tags:

xcode

ios

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 

Screenshot for error

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.

like image 547
Haris Avatar asked Jan 13 '16 06:01

Haris


People also ask

How do I add a device to my provisioning profile on my iPhone?

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.

How do I find provisioning profiles on my iPhone?

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.

What is a provisioning profile in iOS?

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.


1 Answers

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:

  1. Go to Member Centre
  2. Select your Provisioning Profile
  3. Press Edit
  4. Click on CheckBox with appropriate device name under devices Tab.

After performing above steps, download Updated Provisioning Profile, but before installing it, delete Old Provisioning Profile.

like image 198
Aamir Avatar answered Oct 04 '22 04:10

Aamir