Last active
December 14, 2016 03:30
-
-
Save Naville/7055988ed312404e2c535530131928c8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 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