Interface Builder and Xcode integration not working

前端 未结 6 1379
没有蜡笔的小新
没有蜡笔的小新 2020-12-13 10:32

After having installed the iPhone SDK 3.1.2, Interface Builder is not in sync with Xcode anymore. The light indicator at the bottom of the XIB window is grey. IB doesn\'t

6条回答
  •  伪装坚强ぢ
    2020-12-13 10:39

    I had this problem just now because I renamed my project from Project.xcodeproj to project.xcodeproj in the finder. I wanted to keep the new lowercase name so I opened the project.pbxproj file in a text editor and manually lowercased everything there too.

    It still didn't connect to IB, so then I noticed that the XIB files contain this:

        ../../Project.xcodeproj
    

    So I changed that to:

        ../../project.xcodeproj
    

    That didn't fix it either!

    Finally, I noticed that the path for the group (folder on the left panel of XCode) that contain my nibs was messed up. So, I opened the project again in my editor and fixed those, and finally it was fixed.

    Hopefully something in there will help you :-)

提交回复
热议问题