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

三世轮回 提交于 2019-12-06 08:15:38

问题


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?


回答1:


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.




回答2:


try to use this gem: bundleid_helper

1.install this gem

gem install bundleid_helper
  1. use this gem to get bundle id

    bundleid name.ipa

bundlerid_helper




回答3:


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:


来源:https://stackoverflow.com/questions/42214090/how-to-obtain-bundle-id-for-an-ios-app-when-i-have-a-ipa-file-for-the-app-ins

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!