Skip to content

Instantly share code, notes, and snippets.

@Naville
Last active December 14, 2016 03:30
Show Gist options
  • Save Naville/7055988ed312404e2c535530131928c8 to your computer and use it in GitHub Desktop.
Save Naville/7055988ed312404e2c535530131928c8 to your computer and use it in GitHub Desktop.
import plistlib
import os
PATH=os.path.dirname(os.path.abspath(__file__))+"/Info.plist"
x=plistlib.readPlist(PATH)
x['NSAppTransportSecurity']=dict()
x['NSAppTransportSecurity']['NSAllowsArbitraryLoads']=True
plistlib.writePlist(x,PATH)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment