MNY
MNY

Reputation: 1536

The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair

It never happened to me before, I already downloaded sample code before, but now im getting this error:

enter image description here

I saw some questions with this error, but they say to check your "code signing" and I dont see what is wrong there...

enter image description here

Please help, im freaking out

Upvotes: 1

Views: 8095

Answers (5)

chaberekw
chaberekw

Reputation: 1

I had the same error and I found this: How to make an IPA on XCode 4.6?

These steps work for me: 1. Go to /Applications.

  1. Right click on XCode and select 'Show Package Contents'.
  2. CopyContents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/SDKSettings.plist to your desktop. (Make sure to actually copy and paste. No drag and drop)
  3. Open it and under DefaultProperties set CODE_SIGNING_REQUIRED to NO.
  4. Copy it back and replace the original file.
  5. Restart XCode.
  6. Open your project.
  7. In Project Navigator select your project and open Build Settings section of your porject (and not any particular target)
  8. Under Code Signing find Code Signing Identity and for both Debug and Release modes setAny iOS SKD to Don't Code Sign.
  9. Now you should be able to build your project without any errors.

Upvotes: 0

bkh
bkh

Reputation: 11

Since the problem deals with code signing, you just have to uncheck the "Code Sign Application" box on Summary Properties. It worked fine for me.

Upvotes: 1

sendok3n
sendok3n

Reputation: 1

Possible fix (that worked for me) : I changed the scheme "iOS Device" to "iPad 6.1 Simulator" or "iPhone 6.1 Simulator" then I rebuilt the project without this error.

Upvotes: 0

zijianz
zijianz

Reputation: 1

I am suffering the same problem. Most of the answers saying things like Bundle Identifier, provisioning profile, or crap like that.

If people know what those are, they won't come to internet, OK?

check this

http://www.techotopia.com/index.php/Testing_Apps_on_the_iPhone_–_Developer_Certificates_and_Provisioning_Profiles

it explains everything.

Upvotes: 0

Tendulkar
Tendulkar

Reputation: 5540

The error means provisioning profile doesn't exist So

  1. Check the Bundle Identifier in the plist file .
  2. Go to Codesign Identity and click on the dropdown menu and click on the matching Provisioning Profile ( Matching provisioning profile appears in Black color )

Upvotes: 1

Related Questions