Programming/Mac & iOS

[iOS] iOS 9으로 앱 갈아타기

MB Brad KWON 2015. 10. 12. 22:05

Preparing your app for iOS 9


App Transport Security (ATS)

With iOS 9, Apple has introduced a new default setting, known as App Transport Security, which requires apps to make network connections only over SSL. ATS also has specific requirements on the SSL version, encryption cipher and key length used for enforcing HTTPS connection. We are currently working with over 100+ ecosystem partners to transition their platforms to support this change and ensure that they are compliant. In the meantime, for updates to your apps to fully support iOS 9, you will need to follow one of the options below to ensure demand from InMobi continues to work as expected.

a.  Enable ATS only for your domains and domains which are known to comply with ATS requirements. Please see the example below and add to your app’s plist file.

	<key>NSAppTransportSecurity</key>
   	<dict>
        	<key>NSAllowsArbitraryLoads</key>
         	<true/>
         	<key>NSExceptionDomains</key>
        	<dict>
              		<key>example.com</key>
             		<dict>
                   		<key>NSIncludesSubdomains</key>
                   		<true/>
              		</dict>
         	</dict>
    	</dict>

b.  Disable ATS entirely which will prevent iOS from forcing HTTPS connections for all URLs. Please see the example below and add to your app’s plist file.

	<key>NSAppTransportSecurity</key>
     	<dict>
          	<key>NSAllowsArbitraryLoads</key>
          	<true/>
     	</dict>

If you do not follow the above instructions for apps built on XCode 7, monetization will be severely impacted as some web connections might fail resulting in the ads not rendering correctly and therefore, a bad user experience.

Mandatory and default IPv6

Apple has mandated that all apps submitted to the App Store must support IPv6 starting in early 2016. We are currently in the midst of adding support for IPv6 and expect this to be rolled out in the next few months. To ensure your apps continue to function seamlessly over IPv6 networks, we recommend that you only use the OS networking frameworks (e.g., “NSURLSession”), avoid use of IPv4-specific APIs, and avoid using hard-coded IP addresses in URLs in your apps.

Bitcode and App Thinning

The iOS 9 SDK offers App Thinning, which includes compiling bitcode. The App Store and operating system optimize the installation of iOS and watchOS apps by tailoring app delivery to the capabilities of the user’s particular device, with minimal footprint. For publishers who upgrade to the upcoming InMobi SDK, bitcode will be supported out of the box. You must, however, also ensure all other 3rd party libraries used in your app are also compiled to support bit coding.



- See more at: http://www.inmobi.com/blog/2015/09/03/preparing-your-apps-for-ios9/#sthash.BWoANtuM.dpuf