How can I tell which Apple ID has signed/purchased specific apps on iOS?
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 (&lt;&gt;) { if (m!^/!) { chop; $fqn=$_; } if (m/"(.+)" =&gt; (".+")/) { $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&gt;~/Desktop/purchase_export_output.csv 2&gt;~/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.