I borrowed an iPad mini (MF432C/A) iOS 8.0.2 from another department in my company working on a different iOS app and tried to build my application.
I received the following error when attempting to build on it via Xcode Version 6.4 (6E35b)
Failed to code sign ----.
None of the valid provisioning profiles include the devices: 725 product dev iPad mini.
Xcode can attempt to fix this issue.
After clicking Fix Issue which has been doing a decent job of auto-provisioning unknown devices lately I get the following message:
Your account already has a valid iOS Development certificate
You have a valid iOS Development certificate in the Member Center, but it is not installed locally. If your signing identity is installed on another Mac, you can export a developer profile on that Mac and import it on this Mac. You can also revoke your current certificate and request a new one.
From the relevant Apple docs it looks like I'm missing the correct signing identity to build my app on this device. The issue is that this is likely the signing identity of the developers of the other application. Is there a way to bypass this error and provision the device for my own application?
Edit: Under the activity log I see the following two Code Signing errors:
Check dependencies
Code Sign error: No matching provisioning profiles found: None of the valid provisioning profiles include the devices: 725 product dev iPad mini
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.4'
Click Apple Push Certificates portal. In the new tab, sign in to the Apple portal with the Apple ID and password you used when you created the certificate. Next to the certificate you want to renew, click Renew and accept the terms of use.
Go to “developer.apple.com”, login to your account, select “Certificates, IDs & Profiles”. Select "App Store and Ad Hoc" from the Production options and click Continue. Now you'll get the option to upload the CSR file you generated. Select that file and click on generate.
In the Keychain Access menu, select Certificate Assistant > Request a Certificate from a Certificate Authority. Enter a valid email address and your name and choose Saved to disk from the options. Click Continue and save the Certificate Signing Request (CSR) file to your Mac.
On the Create a New Certificate page, under Software select iOS App Development and click Continue. Upload the Certificate Signing Request (CSR) and click Continue. On the Download your certificate page, Download the certificate and double click the . cer file to upload it to Keychain Access.
You need to install the public and private keys associated with the development profile onto the Mac you are using. They can be found in the Keychain application, and simply transferred over. You can revoke and request a new one, but then your device may not run the app from your work computer and you would have to rinse and repeat.
If you've already done this and are still experiencing issues, try registering the device manually under Certificates, Identifiers & Profiles in the member centre and then refresh the account under Xcode > preferences > accounts > [accountname]
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