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

3

7

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?

Efrem answered 13/2, 2017 at 21:43 Comment(0)
R
14

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.

Richel answered 13/2, 2017 at 21:59 Comment(0)
P
6

You can use BundleidHelper gem:

  1. Install gem

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

    bundleid name.ipa
    
Pomerleau answered 8/11, 2018 at 7:21 Comment(1)
From Review: Hi, while links are great way of sharing knowledge, they won't really answer the question if they get broken in the future. Add to your answer the essential content of the link which answers the question. In case the content is too complex or too big to fit here, describe the general idea of the proposed solution. Remember to always keep a link reference to the original solution's website. See: How do I write a good answer?Trevor
E
2

was referring to another website for the same. Reposting the answer from the other website

  1. Copy the .ipa file and rename the extension to .zip. (So e.g. Pages.ipa will become Pages.zip)
  2. Unzip the zip file. You will get a new folder named like the zip file.
  3. Search for the file iTunesMetadata.plist in that new folder.
  4. Open the file with a text editor and search for softwareVersionBundleId. For Pages this looks like this and is com.apple.Pages:
Efrem answered 13/2, 2017 at 22:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.