Monday, September 21, 2015

RadioKit and Apple TV

For anyone interested in making radio apps for the new Apple TV, I've created a beta version of RadioKit that is compatible with the current Apple TV beta (tvOS 9.0).    Apple TV uses different library images than iOS, so I needed to create a separate RadioKit library specifically for Apple TV.  You can't just use the existing iOS version of RadioKit - it is not binary compatible with Apple TV.

If you want to try it out, the library is here:

It uses the same API methods and names as the version of RadioKit for iOS.

I am currently working on putting together a sample Xcode project for Apple TV which demonstrates using the SDK.  I'll followup once I have it complete.

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.