What is “Interface Builder Cocoa Touch Tool”

回眸只為那壹抹淺笑 提交于 2019-12-24 10:35:42

问题


I got a code from a client to fix the bug (code was written by some other programmer), So when I open the xib file it simply hang my computer, i restarted my computer 3 times because of that and finally decided to see what's happening by opening the Activity Monitor and it turn out it is opening something with name "Interface Builder Cocoa Touch tool" and its eating all of my computer memory. Below is the screenshot.

But here is the interesting thing, it is not opening "Interface Builder Cocoa Touch tool" when open "xib" files from other projects, and i can't say anything about this project because this project has only one "nib" file.

But if kill that process, it open the nib file but an error start firing on me after every 10 sec. Below is the screen shot.

Note: App was written initially for ios 2.0 version and we are trying to move the project to ios 4.0. Is this thing has anything to do with this?


回答1:


The best course of action here is to create a bug report at http://bugreport.apple.com/, uploading your broken nib file as an enclosure. That doesn't get you working again, so try one of these:

  • see if you can convince ibtool to write a working file, perhaps by doing some refactoring like changing one of the classes used then changing it back
  • find out whether the client is on the same version of Xcode: if theirs is newer, upgrade
  • use xmllint to see whether the xib is valid XML, and if not whether you can fix it in a text editor
  • recreate the xib from scratch if it isn't too complicated


来源:https://stackoverflow.com/questions/3953500/what-is-interface-builder-cocoa-touch-tool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!