Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从 xcode 3.1 迁移到 4.1,在此过程中,我安装了 Xcode 4.1 并打开了使用 Xcode 3.1 创建的项目。但是当我构建项目时,它给出了错误:
无法打开文档“filename.xib”。操作无法完成。* -[NSCFArray insertObject:atIndex:]: 尝试插入 nil。
该文件不是带状态栏的全屏视图,它是自由格式视图。
谢谢,吉涅什
试试这个: goto XCode Menu=> File=> Add Files to your-project,会弹出一个类似 finder 的浏览器。导航到您的 Classes 目录。你看到filename.xib 并且你能点击它吗?然后将其添加到您的项目中。
XCode Menu
File
Add Files to your-project