Reputation: 301
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)
Upvotes: 24
Views: 58929
Reputation: 3
Check the below steps, and Get the bundle id (identifiers) of any iOS application-
Upvotes: 0
Reputation: 372
If your app is in the App Store, follow these steps-
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.
Copy the number after the ID in the URL. (Here: 361309726).
Open https://itunes.apple.com/lookup?id=361309726, where you replace the ID with the one you looked up.
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
.
Upvotes: 22
Reputation: 253
If you want to get the bundle id of the apps installed in your iPhone which is connected to a Mac OS system, then simply
brew install ideviceinstaller
ideviceinstaller -l
This will list all the installed apps on the connected iOS device along with their bundle IDs
Upvotes: 0
Reputation: 25796
For ipa file:
Upvotes: 0
Reputation: 11
For me the easiest methos is to install ios-deploy (https://github.com/ios-control/ios-deploy)
Then just run in cmd
ios-deploy -B
You will get list of all bundle ids on your device
Upvotes: 1
Reputation: 25797
To find out the bundle id of any existing app:
Console
app on MacSpringBoard Bootstrapping com.xxxx.xxx.kids with intent foreground-interactive
Upvotes: 32
Reputation: 4410
Try this terminal cmd:
osascript -e 'id of app "{path of .app}"'
example:
osascript -e 'id of app "~/Desktop/Fontli.app"'
Upvotes: 7
Reputation: 219
.ipa
file using any app,
this will give you a Payload
folder.
There will be only a single file inside the Payload
Folderinfo.plist
file using either Xcode
or textEdit
there you can find the bundle idCheers
Upvotes: 19
Reputation: 131
You can get it by Changing the extension of .ipa to .zip and then uncompress .zip file.
Upvotes: 1
Reputation: 2248
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.
Upvotes: 2
Reputation: 3796
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.
Upvotes: 0
Reputation: 1346
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.
Upvotes: 0