开发者

is there any way to solve 'com.apple.product-type.framework' issue?

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?


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.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜