CGContextSaveGState: invalid context 0x0 Error only on device
From my experimentation, this seems to be due to defining UIViewControllerBasedStatusBarAppearance in Info.plist. It happens on iOS 9 (beta & GM) but not on 8.4.
From my experimentation, this seems to be due to defining UIViewControllerBasedStatusBarAppearance in Info.plist. It happens on iOS 9 (beta & GM) but not on 8.4.
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
Seems there’s no way to get the previous behavior using newests FB SDKs in iOS9+. You can use an old SDK to do that. Here’s a response from the facebook to that question:
Bitcode is a compile-time feature (not a link-time feature) which means that every .o file should contain an extra section called __bitcode when built with bitcode. You can confirm whether your binary is bitcode-compatible by running otool -l (my .o or .a file) | grep __LLVM. When you build normally, Xcode adds the build flag … Read more
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
Try to do clean, build and then run the project. Worked for me.
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
Xcode 7.1 Xcode 7.1 has finally fixed the issue with system alerts. There are, however, two small gotchas. First, you need to set up a “UI Interuption Handler” before presenting the alert. This is our way of telling the framework how to handle an alert when it appears. Second, after presenting the alert you must … Read more
I’ve scoured Google but the only thing I can find so far is the following quote from the Apple developer forums: For those who are curious, the .tbd files are new “text-based stub libraries”, that provide a much more compact version of the stub libraries for use in the SDK, and help to significantly reduce … Read more
1. How it works? Apple Ref : How to use free provisioning As stated in above link under Launch Your App on Devices Using Free Provisioning point 6. “Xcode creates a free provisioning profile for you“ Update: Above point 6 is removed from link, but there is no change in the way it works and … Read more