0

after I add Provisioning profile to my project and so select my device and all. But now I'm getting error

Code Sign error: Provisioning profile 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' can't be found

do any now know why is that?

And Is their any good tutorial for replying my Xcode 4.2 project to my real iPhone device.

Thanks advanced

Gayan
  • 1,425
  • 4
  • 21
  • 41
  • 1
    possible duplicate of [Code Sign error: Provisioning profile can't be found](http://stackoverflow.com/questions/5758154/code-sign-error-provisioning-profile-cant-be-found) – esqew Nov 17 '11 at 03:53

2 Answers2

1

I have also faced such kind of problems and the best way to solve this problem is again create an App ID and a Provisioning profile -> delete the build folder of your app -> clean your project-> downlaod the profile-> double click on the profile, so it will automatically open it into the keychain-> Refresh it -> now drag and drop the new provisioning profile into your project -> Now in your project go to the info of your project in build tab go to code signing identity and choose the new one and remove the entitlements. and then try to run on device.

Hope it helps as it did mine. :)

mAc
  • 2,434
  • 2
  • 22
  • 39
0

Did you add the device and its respective provisioning profile into your Organizer? What do you see in the organizer when selecting your iPhone under devices? It should be there with the correct valid profile assigned to it.

esqew
  • 42,425
  • 27
  • 92
  • 132