有什么办法可以解决“com.apple.product-type.framework”吗?问题?
我试图通过使用 ObjectiveFlickr 项目在我的应用程序中实现覆盖流效果,但
"target specifies product type 'com.apple.product-type.framework', but there's no such product type for the 'iphonesimulator' platform"
每当我要运行该应用程序时它都会显示错误。
注意:我已经包含了所有框架和objectiveflickr 库。 我对项目设置进行了必要的更改。
对于这个问题有任何解决方案吗?还是我应该使用另一个示例?
I am trying to implement cover flow effect in my application by using objectiveFlickr project, But it shows
"target specifies product type 'com.apple.product-type.framework', but there's no such product type for the 'iphonesimulator' platform"
error whenever I am going to be run the application.
Note: I have included all the framework and objectiveflickr library.
I have made necessary changes in project setting.
There is any solution available for this issues or shall I follow with another sample?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我刚刚遇到了同样的问题。当我在 Mac 目标和 iOS 目标之间来回切换时,我的项目中的某些内容变得混乱,导致 Xcode 变得混乱。恢复 xcodeproj 包内的 project.pbxproj 文件并没有解决问题。删除整个源代码树并从源代码控制更新它确实解决了问题。
这让我相信问题出在 xcodeproj 包内的其他文件中。请尝试以下操作:
I just ran into the same problem. Something in my project got messed up as I switched back and forth between Mac targets and iOS targets, causing Xcode to become confused. Reverting the project.pbxproj file inside the xcodeproj package didn't fix the problem. Deleting my entire source tree and updating it from source control did fix the problem.
This leads me to believe that the problem lies in the other files inside the xcodeproj package. Try the following: