Im working on a music streaming iOS project and want to leverage the SoundCloud SDK.
I followed this guide to the tee: https://developers.soundcloud.com/docs/api/ios-quickstart
The five SoundCloud dependencies are:
- CocoaSoundCloudAPI
- OAuth2Client
- JSONKit
- OHAttributedLabel
- CocoaSoundCloudUI
All five of these projects are available as submodules that you simply add to your current git repository. According to the guide linked above, you are supposed to be able to add them and move on with your project. However, their architectures are all different! CocoaSOundCloudAPI, JSONKit, OHAttributedLabel and CocoaSoundCloudUI are all 32bit architecture projects, while OAuth2Client is a 64bit architecture project.
No matter what I build my project as, 32 or 64bit, I get a Mach-O linker error. I've added both 32bit and 64bit as Valid Architectures in my main Xcode Project, but the issue persists.
I have also not been able to find other versions of these submodules. I can't be the only one with this problem, as I have literally followed the guide word by word, yet I can't find any solution anywhere.
Please help me out!
I am using Xcode 6 and building for the iOS8 SDK.
Thanks!
Edit:
Here are screenshots of my architectures and the error...
I HIGHLY suggest using CocoaPods to manage this dependency. I once integrated SoundCloud into a project without using CocoaPods and it was a pain in the rear. Look at this link and do a search for CocoaPods to see how to install it: https://github.com/soundcloud/CocoaSoundCloudAPI
Here's something that helped me:
$(inherited)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With