Here is another issue that you should be aware of while replacing values in your *.pbxproj file. If your old folder name was FooBar you will have an entry in your *.pbxproj file that looks like this:
Go to Source Control and click Commit; select all the files on the left sidebar of the commit menu when committing (right click -> Select All).
你可能会得到一个错误。
Close the Commit menu.
刷新状态。
通过退出 Xcode 关闭项目。
重新打开项目,刷新状态,再次提交。
This time the commit should work.
单击 Project-> Clean。
I'm assuming that you have already enabled Source Control. If you haven't, or if you get stuck following my instructions, just follow the more detailed instructions in the link provided.
Incorrect model name in Xcdatamodeld. Go to Finder and open your .xcdatamodeld in a text editor.
检查以下项目:
<plist version="1.0">
<dict>
<key>_XCCurrentVersionName</key>
<string>YOUR CORE DATA MODEL NAME.xcdatamodel</string> <-- Make sure this is correct.
</dict>
</plist>