3

我正在尝试按照这些说明为 iPhone 使用 Soundcloud API 包装器,现在我收到此错误:

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

关于如何解决这个问题的任何想法?

4

1 回答 1

3

SoundCloud API 有两个产品:

  • SoundCloudAPI.framework(一个框架,用于 Mac OS X)
  • libSoundCloudAPI.a(一个静态库,适用于 iOS)

如果您正在为 iOS 构建应用程序,则只需添加 libSoundCloudAPI.a作为直接依赖项。您也将框架添加为依赖项,这就是您收到此错误的原因。

于 2011-05-30T19:27:56.167 回答