Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to obtain Bundle ID for an IOS App when I have a '.ipa' file for the app installed on my iPAD

I am trying to automate a test on my ipad which has my app installed on it. I am using Appium for automating the app. It's asking me to enter a bundle ID of the App that needs to be tested.

Could some help me find a way to find the bundle ID for the app from either the app installed on my IPAD or from the .ipa file downloaded on my iMAC?

like image 680
S K Avatar asked Feb 13 '17 21:02

S K


People also ask

How can I get iOS bundle ID without XCode?

In the root folder of your project you probably have a file called Info. plist if you open this file in any text/code editor you can search by CFBundleIdentifier. The next line will show your Bundle ID. That's great!

How do I change my IPA bundle ID?

You cannot change the bundle identifier of an app. You can create a second app that looks and behaves exactly the same and has a different bundle identifier, but the bundle identifier is what makes it that app. It's the identity of the application.


2 Answers

You can get the bundle Identifier by opening the .ipa file using Archive Utility on your mac. Once you open the ipa with Archive Utility. You see app directory.

Then go to Payload -> App file(your appname)( Right click to show package contents)-> open Info.plist-> Look for Bundle Identifier value.

like image 92
phamot Avatar answered Oct 14 '22 06:10

phamot


You can use BundleidHelper gem:

  1. Install gem

    gem install bundleid_helper
    
  2. Use this gem to get bundle id

    bundleid name.ipa
    
like image 31
user2783356 Avatar answered Oct 14 '22 06:10

user2783356