Sunday, October 11, 2015

Bitcode error when trying to archive a project using Xcode 7.0.1

RadioKit has been updated to version 2.15.4.   This is a simple rebuild of the library to correct an error Xcode 7.0.1 introduced when trying to "archive" a project that is linked with RadioKit:

"libRadioKit.a(AudioStreamEngine.o) was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7"

Latest version can be downloaded here:

Sorry for the inconvenience.

Saturday, October 10, 2015

RadioKit and Swift

Good news for those that are looking for an example of using RadioKit with Swift.   Matthew Fecher was kind enough to create a very nice Radio App using Swift 2.0 and he released it on GitHub.  He was also kind enough to give me permission to use it for demonstrating RadioKit usage with Swift.

Here is a link to the project:

This project demonstrates:
  • Playing stations from a JSON list 
  • Parsing the meta data of a live stream
  • Connecting to Live.FM to get album artwork for the currently playing song
  • Using the RadioKit rewind and fast forward features
  • Using the RadioKit buffer view to visualize where in the live stream playback is currently occurring
The sample project is a very good starting point for creating a professional radio app using Swift and RadioKit.

RadioKit linker warnings related to precompiled headers

If you are seeing a lot of warnings with Xcode 7 related to linking with RadioKit, please downloaded an updated version of RadioKit (2.15.3).   It corrects the issue.   Xcode 7 apparently handles precompiled headers differently now in libraries and the way I was building the library was causing these warnings.

Sorry for the confusion.

Latest version of the RadioKit SDK can be found here:

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:

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:

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.