Interface Builder could not open the document “.xib” because it does not exist

后端 未结 4 1972
眼角桃花
眼角桃花 2020-12-05 23:43

I am localizing an app, following the steps listed here. I have successfully achieved that with around 45 .xib\'s, while just 4 of them gives me this error:

\"Interf

4条回答
  •  既然无缘
    2020-12-06 00:35

    I experienced the same error when running ibtools on .xib files in two different directories. It worked fine with the files in the first directory, but failed on the files in the second directory. If I swapped the order of processing the directories it still failed for the second directory.

    Finally I discovered that ibtool starts a demon process ibtoold that doesn't terminate when ibtool finishes, and if I killed that process I no longer got the error. Apparently the demon has some state that hinders ibtool in working in another directory.

    I used pkill ibtoold to kill the demon.

提交回复
热议问题