Page 1 of 1

Modify and re-sign app (done)

Posted: Mon Oct 05, 2015 6:09 am
by vikkysingh
I recently modified the Info.plist file and re signed the app, thought i'd share the steps.

Create an app (.app) and view it's contents. Delete the signature folder.

1. Modify Info.plist. In my case i needed to increment a build of a beta test app, and avoid delay in beta app review. So only the CFBundleVersion needed to be incremented.

<string>1.0.57</string> This should be unique per build of an approved beta test app.
<string>1.0.53</string> In the 1st submission to Apple, both this and CFBundleVersion are identical (default bahavior of Standalone Builder)

2. Create an entitlements file

Create a file entitlements.plist and add the following:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>identifier.appname</string> e.g.
<string>teamId</string> usually the same as app id above 23M8N99C0N


3. Codesign
pcname:~ mac$ /usr/bin/codesign -f -s "iPhone Distribution: CertificateNameWithSpaces" --entitlements "entitlements.plist" ""

(Assuming entitlements.plist is in the same folder where the .app is.)