本文介绍了target指定产品类型“com.apple.product-type.framework”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用的iPhone 这些指令的SoundCloud API包装现在我得到这个错误:
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?
推荐答案
该API的SoundCloud有两种产品:
The SoundCloud API has two products:
-
SoundCloudAPI.framework
(一个框架,适用于Mac OS X) -
libSoundCloudAPI.a
(静态库,适用于iOS)
SoundCloudAPI.framework
(a framework, for Mac OS X)libSoundCloudAPI.a
(a static library, for iOS)
如果您正在为iOS的应用程序,你需要libSoundCloudAPI.a的仅添加为直接依赖关系。您已经添加了框架作为依赖过,这就是为什么你得到这个错误。
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.
这篇关于target指定产品类型“com.apple.product-type.framework”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!