Currently I have .ipa
file and same app can be installed through test flight. I don't have the app source code. I tried extracting the files from .ipa file using Archive Utility but there was no plist file. I am not sure how do I get the bundle id for this app- (either from .ipa
file or by using the installed app and what is the process?) as i want to automate this app test on real device
(Note: .app
file or source code is not available and the test app is signed with valid developer provisioning profile)
To find out the bundle id of any existing app:
Console
app on MacSpringBoard Bootstrapping com.xxxx.xxx.kids with intent foreground-interactive
.ipa
file using any app, this will give you a Payload
folder. There will be only a single file inside the Payload
Folder info.plist
file using either Xcode
or textEdit
there you can find the bundle idCheers
If your app is in the App Store.
1) Find the app online (Google for the iTunes link). For this example we use Apple Pages: https://itunes.apple.com/app/pages/id361309726?mt=8 .
2) Copy the number after the id in the URL. (Here: 361309726).
3) Open https://itunes.apple.com/lookup?id=361309726 where you replace the ID with the one you looked up.
4) Search the output for "bundleID". In this example it looks like this (next to a bunch of other data): "bundleId":"com.apple.Pages". So for Apple, the bundle ID is com.apple.Pages.
Try this terminal cmd:
osascript -e 'id of app "{path of .app}"'
example:
osascript -e 'id of app "~/Desktop/Fontli.app"'
If your app is in App Store,Then you can download the app from iTunes store. Then open that file in finder. There should be plist file. if you open it, you you will be able to find the bundle id there.
您可以通过将 .ipa 的扩展名更改为 .zip,然后解压缩 .zip 文件来获取它。
If you have access to the testflight admin you can get the bundle id from the app information on that site. Otherwise you can extract the file using archive utility like you said and right click on the application within and select show package contents, this is where your info.plist will be stored.
If the App is signed with a Proper profile, and you have the access to the developer portal via the Apple ID, you can go to the portal and check out the Bundle ID in the identified --> AppID under Certificate, Identifiers and profiles
Or you can access it via test flight.
Or else, as Mike Mentioned, Right Click on the ipa, click show package contents, Find the info.plist and you will find the Bundle identifier there.
If You Have the IPA File
Copy the .ipa file and rename the extension to .zip. (So, for example, Pages.ipa will become Pages.zip.)
Unzip the ZIP file. You will get a new folder named the same way as the original ZIP file.
Search for the iTunesMetadata.plist file in that new folder.
Open the file with a text editor and search for softwareVersionBundleId. For example, for the Pages app, the bundle ID is com.apple.Pages.
You can also use iTunes to download the app .ipa file directly and then find the bundle ID, like shown below.
If You Only Have the App on Your Phone
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.