Skip to content

Instantly share code, notes, and snippets.

@luke
Created November 20, 2013 20:38
Show Gist options
  • Save luke/7570563 to your computer and use it in GitHub Desktop.
Save luke/7570563 to your computer and use it in GitHub Desktop.
Make list of uuids not already in provisioning profile. For copying UUIDs out of testflight and into apple.
import re
testflight_file = './testflight_devices.txt'
testflight_data = open(testflight_file).read()
apple_file = './apple_devices.txt' # copy and paste from provisioning portal
apple_data = open(apple_file).read()
apple_uuids = re.findall('[a-z0-9]{30,50}',apple_data)
for line in testflight_data.split("\n"):
if not any(x in line for x in apple_uuids):
print line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment