Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
def pListModification():
bundleName = "MY APP"
bundleIdentifier = "net.myapp"
plistNote ="app_directory/app_name/" + "/App/App-Info.plist"
plistNoteData = plistlib.readPlist(plistNote)
plistNoteData['CFBundleDisplayName'] = "New My App"
plistNoteData['CFBundleIdentifier'] = "net.newmyapp"
plistNoteData['CFBundleName'] = "New My App"
plistlib.writePlist(plistNoteData, plistNote)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment