我正尝试在 these instructions 之后为 iPhone 使用 Soundcloud API 包装器现在我收到了这个错误:
target specifies product type 'com.apple.product-type.framework', but there's no such product type for the 'iphoneos' platform
关于如何解决这个问题有什么想法吗?
最佳答案
SoundCloud API 有两个产品:
SoundCloudAPI.framework
(一个框架,适用于 Mac OS X)libSoundCloudAPI.a
(iOS 静态库)
如果您正在构建适用于 iOS 的应用程序,则需要添加 libSoundCloudAPI.a 仅 作为直接依赖项。您也已将框架添加为依赖项,这就是您收到此错误的原因。
关于iphone - 目标指定产品类型 'com.apple.product-type.framework',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6179888/