Jump to: navigation, search

Support for iOS 9

Revision as of 19:48, 17 May 2017 by Akokulu (Talk | contribs) (Handling App Transport Security)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

iOS 9+ Support

Handling App Transport Security

Coming this fall, Apple will be rolling out a new feature called App Transport Security (ATS) as part of iOS 9. This feature is designed to improve the security of connections between apps and web services.

Fuse bundles several third-party ad network SDKs as part of AdRally, and some ad providers may not be compliant by the time iOS 9 is released. If you are building an app with Xcode 7 that will run on iOS 9 devices, you may need to implement a short-term fix to allow insecure connections. Adding an exception in your Info.plist, as documented below, is one way to accomplish this:

<key>NSAppTransportSecurity</key>
     <dict>
          <key>NSAllowsArbitraryLoads</key>
          <true/>
          <key>NSAllowsLocalNetworking</key>   (only required for AdColony 3.0+)
          <true/>
          <key>NSAllowsArbitraryLoadsInWebContent</key>
          <true/>
     </dict>

For more details please read Apple's tech note.

Bitcode Support in Xcode7

Bitcode is an intermediate representation of compiled program. For more info see: https://developer.apple.com/library/prerelease/ios/documentation/IDEs/Conceptual/AppDistributionGuide/AppThinning/AppThinning.html#//apple_ref/doc/uid/TP40012582-CH35-SW2

Uploading apps containing bitcode to Apple through iTunes Connect allows Apple to re-optimize the application binary in the future without needing a re-submission. However, enabling bitcode (which is the default setting in Xcode 7), requires all linked frameworks and binaries to have been built with bitcode enabled. While the FuseSDK itself has been built with bitcode enabled, some of the included ad network libraries have not yet enabled bitcode. This will undoubtedly be fixed over time, but in the meanwhile, you can manually disable bitcode in your application by going to the Build Options in their target's build settings, and setting the "Enable Bitcode" value to "No".

Bitcode Screenshot.png