Target indicates product type 'com.apple.product-type.framework'

I try to use the Soundcloud API shell for iPhone after these instructions , and now I get this error:

target specifies product type 'com.apple.product-type.framework', but there no such product type for the 'iphoneos' platform

Any ideas on how to solve this?

+3
source share
1 answer

SoundCloud API has two products:

  • SoundCloudAPI.framework (framework for Mac OS X)
  • libSoundCloudAPI.a (static library for iOS)

If you are creating an iOS app, you need to add libSoundCloudAPI.a only as a direct dependency. You added the framework as a dependency, so you get this error.

+3
source

All Articles