开发者

Xcode IB Can't Read Archive?

I just created a new project from a template and when I try to build the project I get a "Could not read a开发者_C百科rchive" error for each nib file from the compiler. I did some Googling but could not find an explanation or steps to debug. Has anyone run into this error before or can someone explain what it means?

When I try to open the nibs with Interface Builder I get the same error in a pop up.


I'm an idiot. Project name included an ampersand '&' character. Reread the Nimble Kit Coding Examples. and saw the little warning against using special characters "especially '&'" near be bottom of the Xcode compiling error segment in order to figure this one out.


I tried a bunch of things that never worked. I finally solved this issue by simply deleting the item out of XCode (just remove the reference..DO NOT..I REPEAT..DO NOT move it to the trash!!). Then, Add the file back into the project by Selecting "File" - "Add Files" or right clicking some folder in the Folder Navigator view and selecting "Add Files". I then cleaned the project just to be on the safe side and after that I built the project and it worked!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜