问题
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
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
- Copy the .ipa file and rename the extension to .zip. (So e.g. Pages.ipa will become Pages.zip)
- Unzip the zip file. You will get a new folder named like the zip file.
- Search for the file iTunesMetadata.plist in that new folder.
- 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