How to install previously-archived apps from xcode organizer to my iphone

Posted by Ben Clayton on Stack Overflow See other posts from Stack Overflow or by Ben Clayton
Published on 2011-01-13T11:51:23Z Indexed on 2011/01/13 11:53 UTC
Read the original article Hit count: 257

Filed under:
|
|
|

Hi all.

Xcode keeps an archive of all the versions of my apps that I've submitted to the app store in the 'archived applications' section. I assumed using this I could install an old version of an app to my device, in order to reproduce any problems my client may have had with that particular version.

However, when I try to do this I get an error:

'this executable was signed with invalid entitlements, the entitlements specified in your applications code signing entitlements do not match those specified in your provisioning profile'

The original app was signed using our App Store distribution certificate, and I use the Organizer interface to re-sign it using our Developer profile.

  • select the archived app
  • select the version I want to test
  • click 'share'
  • select 'iphone developer' next to identity
  • save to disk (saves the ipa file)
  • then copy the ipa to the device using the little + button you see next to 'applications' on the screen you get when you select the connected device.

Then I get the error, and the app isn't installed.

Is there something obvious I'm doing wrong here? Or is there a different process to re-install an archived app to my device?

Thanks,

© Stack Overflow or respective owner

Related posts about iphone

Related posts about xcode