Last active
February 17, 2016 15:07
-
-
Save itsthejb/4dd10f3af2aeb1b061d2 to your computer and use it in GitHub Desktop.
Run Script Phase: Disable App Transport Security for Debug Config
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
if [ "${CONFIGURATION}" == "Debug" ]; then | |
/usr/libexec/PlistBuddy -c "Set NSAppTransportSecurity:NSAllowsArbitraryLoads true" ${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Info.plist | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also, needs the entry in the plist with
false