3

我正在尝试通过使用objectiveFlickr项目在我的应用程序中实现覆盖流效果,但它显示

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

每当我要运行应用程序时出错。

注意:我已经包含了所有的框架和objectiveflickr 库。我对项目设置进行了必要的更改。

有任何解决方案可解决此问题,还是我应该使用另一个示例?

4

1 回答 1

4

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:

  1. Close your project in Xcode.
  2. Navigate into your xcodeproj package (either through Terminal, or in Finder by right-clicking and selecting "Show Package Contents")
  3. Delete your pbxuser and perspectivev3 files. They will be re-created.
  4. Open your project in Xcode.
于 2010-11-26T20:07:49.747 回答