Wednesday, September 16, 2015

RadioKit and Xcode 7 and iOS 9

Good news!  The latest version of RadioKit (2.15.2) is compatible with Xcode 7 and iOS 9.   Previously built apps that use an older version of RadioKit do NOT need to be updated (they should continue to work just fine), however if you are building a new app,or creating an update to an existing app, it is recommended that you download the latest version of RadioKit:

This version of the SDK is compiled with ENABLE_BITCODE support for iOS 9 app trimming.

Also, as of iOS 9, any new app or app update compiled for iOS 9 that makes an HTTP or HTTPS connection needs to explicitly allow the destination address via settings in the app's info.plist.  If you do not edit your info.plist with the necessary information, your app will not be able to play any remote audio streams.

For more details, refer to this Apple tech note:

If you are creating a generic radio player that will connect to arbitrary streams, you will need to set NSAllowsArbitraryLoads to YES in your NSAppTransportSecurity dictionary in your app's info.plist.
If you are connecting to just one stream, you can instead enable access to just that URL.

The RadioKit demos have been updated with this information as well.  For more information see:

All content copyright © 2009  Brian Stormont, unless otherwise noted.   All rights reserved.