I'm trying to use a Soundcloud API wrapper for the iPhone following these instructions and now I'm getting this error:
target specifies product type 'com.apple.product-type.framework', but there's no such product type for the 'iphoneos' platform
Any ideas on how to solve this?
The SoundCloud API has two products:
SoundCloudAPI.framework
(a framework, for Mac OS X)libSoundCloudAPI.a
(a static library, for iOS)
If you're building an app for iOS you need to add libSoundCloudAPI.a only as a direct dependency. You've added the framework as a dependency too, which is why you're getting this error.
来源:https://stackoverflow.com/questions/6179888/target-specifies-product-type-com-apple-product-type-framework