目标指定产品类型“com.apple.product-type.framework”
我正在尝试按照这些说明使用适用于 iPhone 的 Soundcloud API 包装器,现在我收到此错误:
目标指定产品类型“com.apple.product-type.framework”,但“iphoneos”平台没有此类产品类型
如何解决此问题的任何想法吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
SoundCloud API 有两个产品:
SoundCloudAPI.framework
(一个框架,适用于 Mac OS X)libSoundCloudAPI.a
(一个静态库,适用于 iOS)对于 iOS 应用程序,您需要添加 libSoundCloudAPI.a only 作为直接依赖项。您也将框架添加为依赖项,这就是您收到此错误的原因。
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.