Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mogya
Created September 25, 2011 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mogya/1240566 to your computer and use it in GitHub Desktop.
Save mogya/1240566 to your computer and use it in GitHub Desktop.
build.py(1.6.2) modification to suppress CFBundleVersion modification
if not simulator:
version = ti.properties['version']
# we want to make sure in debug mode the version always changes
o.write("[INFO] mogya. skip version modification.") # mogya
# version = "%s.%d" % (version,time.time())
ti.properties['version']=version
pp = os.path.expanduser("~/Library/MobileDevice/Provisioning Profiles/%s.mobileprovision" % appuuid)
provisioning_profile = read_provisioning_profile(pp,o)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment