开发者

nib file not opening in Xcode 4

开发者 https://www.devze.com 2023-04-10 18:32 出处:网络
I am trying to move from xcode 3.1 to 4.1 and in the process, I installed Xcode 4.1 and opened project I开发者_运维技巧 created with Xcode 3.1. But when I build project, it gives error:

I am trying to move from xcode 3.1 to 4.1 and in the process, I installed Xcode 4.1 and opened project I开发者_运维技巧 created with Xcode 3.1. But when I build project, it gives error:

The document "filename.xib" could not be opened. The operation couldn’t be completed. * -[NSCFArray insertObject:atIndex:]: attempt to insert nil.

The file is not full screen View with status bar, it is freeform view.

Thanks, Jignesh


Try this: goto XCode Menu => File => Add Files to your-project, a finder-like browser will pop up. Navigate to your Classes directory. Do you see the filename.xib and can you click on it? Then add it to your project.

0

精彩评论

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

关注公众号