Your SlideShare is downloading. ×
  • Like
Code Re-signing
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Code Re-signing


Learn what it is, when you should do it, and what you need to re-sign your app.

Learn what it is, when you should do it, and what you need to re-sign your app.

Published in Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Hello,
    how I can Re-sign a App with Windows?
    Are you sure you want to
    Your message goes here
No Downloads


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Code Re-signing with Chris (with a K)
  • 2. What is code re-signing? Apple signs all iOS apps in the build process with yourdeveloper signature. Re-signing is the process of popping the app open and inserting a different signature.
  • 3. Why would I want to re-sign my app? 1) in order to distribute through an enterprise account, in order to avoid the app store. 2) your client wants to distribute the app under their apple account.
  • 4. What do I need to do it?Two apple developer certificates. One to build with and one to re-sign with. If you want to circumvent the app store and distribute it yourself, youll need an apple enterprise account.
  • 5. • Build the app as normal under your usual apple developer certificate• If youre going to provision it for push notifications, do so as normal• From the re-signing account, youll need a .p12• The p12 contains the keychain certificate and private key. Double-click it to add it to your keychain. • if youre re-signing from your own enterprise account, you should already have the p12 on your keychain • to create a p12, go to Keychain Access, then right-click on the certificate and export. Choose to export it as p12.
  • 6. • If youre making an app for a client who wants push provisioning,theyll need to provision the app for push with their own pushaccount• At this point, wed finish the process by running a little python scriptwe made that does the heavy lifting.•the four arguments are: {full_path_to_ipa} {"certificate name"}{bundle id} {full_path_to_mobileprovision_file}
  • 7. The script does the following: • unzips the ipa • alters the info.plist by swapping out the bundle id from the original mobileprovision profile with the bundle id of the new mobile provision profile ( -> • copies new mobileprovision file into app, replacing the embedded.mobileprovision • resigns app with the code • repackages with xcrun
  • 8.