开发者

InfoPlist.strings problem when building

I removed a localized file. And now when Im trying to build I keep getting this error:

error: Error Domain=NSCocoaErrorDomain Code=4 UserInfo=0x2025f7cc0 "“InfoPlist.strings” couldn’t be removed." | User info: {

I can't find a solution. Any advice?

I开发者_C百科m using XCode 4


In Xcode, click on your project in the top left of the first column. Go to Build Phases and expand the "Copy Bundle Resources". Make sure that InfoPlist.strings has been removed from this list. Otherwise the compiler will try to copy it over during compilation but it has already been deleted so it'll fail.

Also, alternatively, try just finding the file in finder and manually deleting it there.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜