开发者

Xcode 4. Why Can't My Renamed Project Find It's Info.plist File?

Under Xcode 4 I renamed a project from Foo to Bar. The former Foo-Info.plist is renamed as Bar-Info.plist. The renamed file exists. On disk and in the project. All should be cool. All is not cool.

When I compile I get this:

could not read data from '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/Users/PATH/TO/Bar-Info.plist': The file “Bar-Info.plist” couldn’t be opened because there is no such file.

The file does exist in the path shown as well as in the build settings. Is there some cached data I need to purge to unwedge th开发者_Go百科is.


XCode is looking in the wrong folder for your Info.plist. Check the Build Setting for Info.plist File; make sure there aren't any qualifiers to the file name.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜