OGeek|极客世界-中国程序员成长平台

标题: iphone - Xcode升级: PBXContainerItemProxy missing containerPortal key [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-12 22:32
标题: iphone - Xcode升级: PBXContainerItemProxy missing containerPortal key

我刚刚升级了我的 Xcode,现在当我尝试打开我的项目时,我收到了这个错误:

Project /Users/xxx/xxxx/xxxxx/xxxxxx/xxxxxxxx.xcodeproj cannot be opened: PBXContainerItemProxy (xxxxxxxxxxxxxxxxx) is missing a containerPortal key

我已经搜索了 web 和 stackoverflow,但根本找不到任何与此相关的信息。

我确实将 Three20 作为我项目的一部分,我不知道这是否重要。我刚刚升级到 xcode 4.4.1

感谢您的任何见解。

-D



Best Answer-推荐答案


我们看到的项目图标,即projectname.xcodeproj,实际上是一个目录,你这样做


1.在终端做 cd yourproject.xcodeproj
2.ls
3.vi项目.pbxproj
4. 向下滚动直到/* Begin PBXContainerItemProxy section */
5.那里你会看到所有部分检查缺少门户 key 的部分编辑它并保存它:wq它会工作

Screen shot

如果您看到第一部分缺少容器门户 key ,则在图像中。只需从其他部分拍摄并替换它..

它会起作用 看到这个 link

关于iphone - Xcode升级: PBXContainerItemProxy missing containerPortal key,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12161081/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4