libimobiledevice / ideviceinstaller

Manage apps of iOS devices
https://libimobiledevice.org
GNU General Public License v2.0
1.24k stars 260 forks source link

The bundle ID isn't parsed correctly for some apps #148

Closed DoubleDebug closed 1 year ago

DoubleDebug commented 1 year ago

After running the command ideviceinstaller --list-apps --udid <uidd_value> , I got a list of items each containing a bundle identifier, a bundle version and a bundle display name.

However, I noticed that some bundle identifiers were incorrect for my apps. For example, my app "Moj A1" has the following bundle id: si.simobil.si-info. But the command returned the bundle id: info. Are you perhaps using regex to parse the bundle id and then everything before the dash got discarded?

Expected bundle ID Current bundle ID App name + link
si.simobil.si-info info Moj A1
si.mbills.mbills-hybrid hybrid mBills.si

This seems like a simple fix. Can you do it? Thank you in advance!

nikias commented 1 year ago

The bundle id is not parsed. It is extracted from whatever the device sends over; you can check your output with added --xml option to get the app list as XML plist. The entry you are looking for is CFBundleIdentifier, that's where it's taken from.

DoubleDebug commented 1 year ago

This is not an issue. The problem was on my end. I'm closing this task.