Eric Brotto
Eric Brotto

Reputation: 54251

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

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?

Upvotes: 3

Views: 11804

Answers (1)

Simon Whitaker
Simon Whitaker

Reputation: 20566

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.

Upvotes: 3

Related Questions