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:

http://www.stormyprods.com/Libs/RadioKitLib-XCode7.zip

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:

https://developer.apple.com/library/prerelease/ios/technotes/App-Transport-Security-Technote/

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:

http://www.stormyprods.com/products/radiokit.php

Friday, June 12, 2015

RadioKit and 64-bit support

As of February of 2015, Apple now requires all apps submitted for review (including updates to old apps) provide support for 64-bit.

If you are using an older version of RadioKit, you may receive the following error when building your app:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_RadioKit", referenced from:
      objc-class-ref in AraRadioAppDelegate.o
ld: symbol(s) not found for architecture x86_64

If you are receiving this error, all you need to do if update your app project to use the latest version of the RadioKit library.  It can be found here free of charge:

http://www.stormyprods.com/Libs/RadioKitLib-XCode5.zip

Simply replace the RadioKitLib in your project with these new files and your project should build without any issues.

Friday, May 15, 2015

RadioKit and iOS 8

Just a quick update:  the existing version of RadioKit continues to work fine with iOS 8.   All the sample projects have been updated to work with the latest version of Xcode.

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