Xcode 升级:PBXContainerItemProxy 缺少 containerPortal 密钥 [英] Xcode upgrade: PBXContainerItemProxy missing containerPortal key

查看:20
本文介绍了Xcode 升级:PBXContainerItemProxy 缺少 containerPortal 密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级了我的 Xcode,现在当我尝试打开我的项目时,出现此错误:

I just upgraded my Xcode, now when I try to open my project, I get this error:

Project/Users/xxx/xxxx/xxxxx/xxxxxx/xxxxxxxx.xcodeproj 无法打开:PBXContainerItemProxy (xxxxxxxxxxxxxxxxx) 缺少 containerPortal 密钥

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

我已经在网络和 stackoverflow 上进行了搜索,但根本找不到与此相关的任何信息.

I have searched the web and stackoverflow, but cannot get anything relevent to come up at all regarding this.

我的项目中确实有 Three20,我不知道这是否重要.我刚刚升级到 xcode 4.4.1

I do have Three20 as part of my project, I don't know if that matters. I just upgraded to xcode 4.4.1

感谢您的任何见解.

-D

推荐答案

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

the project icon which we see i.e projectname.xcodeproj, is actually a directory, you do this


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


1. in terminal do cd yourproject.xcodeproj
2.ls
3.vi project.pbxproj
4. scroll down till /* Begin PBXContainerItemProxy section */
5.there you will see all sections check for the section which is missing a portal key edit it and save it :wq it will work

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

in image if you see the first section is missing container portal key.just pic it from other section and replace it..

它会工作 :D 看到这个 链接

it will work :D see this link

这篇关于Xcode 升级:PBXContainerItemProxy 缺少 containerPortal 密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆