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:  http://www.stormyprods.com/Libs/RadioKitLib-XCode7.zip


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: https://github.com/MostTornBrain/Swift-Radio-Pro/tree/RadioKit

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:

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

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