Is it possible to disable ATS in iOS 9 just for debug environment?

My solution is to keep ATS disable option at the default NO value and add a New Run Script Phase to change it in the app bundle’s Info.plist when building the app. This is the script: #Disables ATS in debug builds. INFOPLIST=”${TARGET_BUILD_DIR}”https://stackoverflow.com/”${INFOPLIST_PATH}” case “${CONFIGURATION}” in “Release”|”Adhoc”) /usr/libexec/PlistBuddy -c “Set :NSAppTransportSecurity:NSAllowsArbitraryLoads NO” “${INFOPLIST}” ;; “Debug”) /usr/libexec/PlistBuddy … Read more

Xcode UI test – UI Testing Failure – Failed to scroll to visible (by AX action) when tap on Search field “Cancel’ button

I guess here “Cancel” button returns false for hittable property, that is preventing it from tapping. If you see tap() in documentation it says /*! * Sends a tap event to a hittable point computed for the element. */ – (void)tap; It seems things are broken with Xcode 7.1. To keep myself (and you too … Read more

Xcode 7 Library search path warning

This is how I fixed this problem Further to a migration of my Xcode project, from Xcode 6.4 to Xcode 7, I get the warning message below (after compilation) for the Test target : directory not found for option ‘-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks’ Actually I found something when comparing a new project vs an older one… In the … Read more