By bmike


2015-09-13 23:08:41 8 Comments

I have an iPhone I'm trying to restore and the restore keeps failing. Specifically, I'm asked to enter the password for family members. I must decline that for secret reasons. Also, family sharing doesn't make me enter my family member's password, so why does that happen when restoring a backup?

In order to pick this apart, I'd like to inspect the apps on my iPhone 6 with iOS 9.1 so I can determine which ones are not purchased from my Apple ID.

I have Xcode, libimobiledevice from homebrew on OS X 10.11, iTunes can back up the phone and I can inspect the files on the Mac if there's no way to access this data from iOS - which I'd prefer. Basically, how can I enumerate all apps and determine which ones will prevent me from using an iCloud backup to restore that app using solely my Apple ID and not need the password of a family member.

How can I identify the signing identity used for each app on the iPhone by hook or by crook?

4 comments

@Hamid Rohani 2016-10-07 10:18:04

I had found a script that can list iTunes apps by purchase here (author: Walt Stoneburner). The link is now broken, but I had archived that page 3 years ago. This is the script:

for f in ~/Music/iTunes/iTunes\ Media/Mobile\ Applications/*.ipa; \
 do (echo "$f" ; unzip -p "$f" "iTunesMetadata.plist" | \
 plutil -p - | egrep -i "\"(itemName|artistName|AppleID)\"" ) | \
 perl -e 'while (<>) { if (m!^/!) { chop; $fqn=$_; } if (m/"(.+)" => (".+")/) { $e{lc($1)}=$2; } } print "\"${fqn}\",$e{\"itemname\"},$e{\"artistname\"},$e{\"appleid\"}\n";'; \
done

The script shoud be run in the terminal and the output will be printed into the standard output. If you want to redirect it to a file, add these parameters at the end of script (after done):

1>~/Desktop/purchase_export_output.csv 2>~/Desktop/purchase_export_error.log

Now you can open purchase_export_output.csv from your desktop. Its schema is like this:

"file.ipa","Name","Seller","purchased_by"

If any error occurs one line will be added to the purchase_export_error.log.

@Thorbjørn Ravn Andersen 2017-02-26 22:55:22

For me the "iTunes Media/" bit had to be remove.

@Jeremy Heiden 2016-09-29 00:27:46

PROBLEM SOLVED! http://dougscripts.com/apps/appsassistapp.php It runs a program that scans the entire apple app library on your computer iTunes and shows you a list, line a spread sheet, one of the tabs is "Purchaser ID", all right there it tells you all the apps by who, that way you can easily delete them from your devices and stop seeing the password request for the app.

@Hamid Rohani 2016-11-12 14:47:07

This program ends with this error: "No Apps appear to be available." It will not work with iTunes 12.4 or later.

@killswitch 2015-10-27 20:52:37

Sync your iPhone to iTunes, Select the App you want to know from which account it has been purchased, right click, go to Get info, under the File tab you will find something like below image where you can see who purchased the app. I have removed my Apple ID but the different names is for different accounts.

enter image description here

enter image description here

enter image description here

@bmike 2015-10-27 20:58:32

The purchased tab doesn't work when we both have that app. I'm trying to avoid deleting apps one by one but unless someone can help with unwrapping the actual signing code stored on the filesystem, I may be out of luck to do this programatically.

@killswitch 2015-10-27 21:02:04

The other way to find out without deleting the app is by unzipping the app, and opening iTunesMetadata.plist > com.apple.iTunesStore.downloadInfo > accountInfo > AppleID. There the apple associated with the purchase of the app will be there.

@bmike 2015-10-27 21:03:00

Can you walk me through the steps on how to do that for iOS nine?

@killswitch 2015-10-27 21:03:47

As I just saw right now, in iTunes you can right click on the app and under the file tab you can see the id it was purchased with.

@killswitch 2015-10-27 21:07:16

I updated the comment please check.

@bmike 2015-10-27 21:28:01

I'm not following - could you edit the answer itself so that it has all the information I need? Keep in mind, I don't have multiple accounts. I'm part of family sharing and family member purchased apps are wrapped differently than ones I purchased myself.

@killswitch 2015-10-27 21:55:42

Check the answer now

@RaajTram 2015-10-27 21:12:59

  1. Go to your Mac. Open iTunes.
  2. Click More in the upper-left corner.
  3. Choose Apps from the pop-up menu.
  4. If and when prompted, sign-in with the Apple ID for which you want the Apps to be listed.
  5. Under Quick Links on the right side of the App Store, click Purchased.

enter image description here

  1. Select Not in My Library to view purchased content that isn't on your computer.

enter image description here

  1. Scroll to find the item that you want to download. In your case, you might want to download all the items.
  2. Click the Download icon in the upper-right corner of the item(s) you want to download. Your app downloads to your library.
  3. If an app is already in your library, the Download icon won't appear.

This'll let you know what apps were purchased under what Apple ID.

@bmike 2015-10-27 21:16:05

Could you add the steps that cover the apps I have on my iPhone? I have zero apps in iTunes on my Mac currently. Everything thus shows "download" so I can't figure what belong to my Apple ID and which belong to family members.

@RaajTram 2015-10-27 21:17:49

@bmike These steps are meant for your iPhone. Look at the second screenshot in my answer - it lets you choose between the iPad and iPhone apps.

@bmike 2015-10-27 21:26:55

I am confused. On my Mac, all screenshots showing apps is empty. Zero apps are on my iTunes / Mac. Similarly there is no "not in my library" setting I can see on iOS version of the App Store app. Also, step 4 has me signing in with my family member's account - I don't ever want to know their password let alone even ask them for it, hence the crux of my question. How can I tell which apps on my iPhone aren't reinstallable using My Apple ID.

Related Questions

Sponsored Content

1 Answered Questions

1 Answered Questions

[SOLVED] How can I use Family Sharing for purchased apps?

  • 2017-11-01 10:14:29
  • Simon
  • 425 View
  • 1 Score
  • 1 Answer
  • Tags:   family-sharing

1 Answered Questions

3 Answered Questions

[SOLVED] How can I find out which iOS apps I've purchased were free?

1 Answered Questions

[SOLVED] Different enterprise signed apps on same iOS device

1 Answered Questions

[SOLVED] How can I retrieve the deleted backup file from iTunes for iPhone?

  • 2011-11-13 00:56:46
  • Moodime
  • 5812 View
  • 1 Score
  • 1 Answer
  • Tags:   ios iphone itunes

Sponsored Content