Renaming of IPA app name

13,795

Solution 1

If you have the provisioning profile, certificate, and key, you can modify the .app payload contents and then re-sign. But given that you do not have the source code, I doubt you have those. If you do, here are the steps:

From the terminal:

unzip app.ipa

rm -rf Payload/MyApp.app/_CodeSignature/

/usr/libexec/PlistBuddy Payload/MyApp.app/Info.plist

Inside the PlistBuddy editor, do the following:

Set :CFBundleName MyApp_SIT
save
quit

Then, back at the command line, we resign the app with it's new bundle name:

cp <path_to_provisioing_profile>/AdHoc.mobileprovision Payload/MyApp.app/embedded.mobileprovision 

codesign -f -s "iPhone Distribution: Company Certificate" --resource-rules Payload/MyApp.app/ResourceRules.plist  Payload/MyApp.app

zip -qr app-resigned.ipa Payload/

General steps referenced here:

https://coderwall.com/p/qwqpnw/resign-ipa-with-new-cfbundleidentifier-and-certificate

Solution 2

In Xcode 8 onwards simply changing Scheme name does the job , now . Just go to scheme manager and first select the scheme and then it enter , whatever name you put that would be the name of ipa and app file.

Solution 3

You can't modify an .ipa, but you can recompile it if you have the source code.

Simply go in your info.plist file and change the Bundle Display Name key. If it's not there you can add it yourself.

That key is the name that will appear under the icon of your app. The user will see a different name even though your bundle name/project name are still the old ones.

Share:
13,795
Subash Suyambuthangam
Author by

Subash Suyambuthangam

Updated on June 08, 2022

Comments

  • Subash Suyambuthangam
    Subash Suyambuthangam almost 2 years

    I have production IPA file with the name as MyApp. I need to change this name as MyApp_SIT for testing purpose. Where I have to do the modifications. I have the production IPA file and the new Provisioning profile and certificate for testing purpose. Is this possible to rename the app name. I have to finish it urgently. Can anyone please tell how to do this.