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.
精彩评论