Created
November 20, 2013 20:38
-
-
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.
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
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