Info.plist Utility Error: “Info.plist couldn't be opened because there is no such file”

项目重命名后找不到Info.plist文件.

解决办法如下:
Target: ‘AppTests’ -> ‘Build Settings’ -> ‘Packaging’ -> ‘Info.plist file(field)’ - the location must be something like this: ‘AppTests/Info.plist’.Keep this field empty.Delete the location.

I faced similar kind of situation when I updated my XCode to 6.1. My project contained Info.plist but I got this error: “The file “Info.plist” couldn’t be opened because there is no such file.” Therefore, I looked up to the targets of my application which were: “App” & “AppTests”. I checked for the ‘Packaging’ field in ‘Build Settings’ tab.

Target: ‘App’ -> ‘Build Settings’ -> ‘Packaging’ -> ‘Info.plist file(field)’ - the location should be correct

Target: ‘AppTests’ -> ‘Build Settings’ -> ‘Packaging’ -> ‘Info.plist file(field)’ - the location must be something like this: ‘AppTests/Info.plist’.Keep this field empty.Delete the location.

It seems that Apple is checking this location by default for finding Info.plist. Clean & Build your project. It will work. Worked for me.

http://stackoverflow.com/questions/26189404/info-plist-utility-error-info-plist-couldnt-be-opened-because-there-is-no-suc

你可能感兴趣的:(ios)