Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 07afc81
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
This is a simple script that can be used to list the devices an ipa file | ||
has been signed to work against | ||
to use: | ||
./listdevs.sh <ipa file> | ||
The output will be a list of UDIDs that are contained in the embedded | ||
mobileprovisioning file contained within the ipa | ||
|
||
Enjoy | ||
|
||
-- Team Tapadoo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
IPAFILE=$1 | ||
TMPDIR=tmp$$.tmp | ||
mkdir $TMPDIR | ||
unzip -qq $IPAFILE -d $TMPDIR | ||
EMBEDFILE=`find $TMPDIR -name embedded.mobileprovision -print | head -1` | ||
echo $EMBEDFILE | ||
EMBEDFILEONLY=$EMBEDFILE.plist | ||
sed -n '/plist/,/\/plist/p' $EMBEDFILE > $EMBEDFILEONLY | ||
sed -n '/ProvisionedDevices/,/\/array/p' $EMBEDFILEONLY | grep string | sed 's/<[/]*string>//g' | ||
rm -rf $TMPDIR | ||
|