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

前端 未结 25 882
庸人自扰
庸人自扰 2020-12-08 06:15

I\'m running into what seems to be common error, in that Xcode can\'t seem to find my \'Info.plist\' file.

I\'ve checked the answers to these two StackOverflow ques

25条回答
  •  甜味超标
    2020-12-08 06:37

    The answers above did not apply to my case.

    This is what I have discovered.

    Some weeks ago I dowloaded to my Downloads folder a github objective c library for my project. I then added that librabry with "Add Files to..." and the library worked just fine.

    I regularly delete old files and folders from my Downloads. It happens that I deleted the folder that contained the objective-c library! Therefore, Xcode was complaining that it could not find a "Info.plist" that was in that folder. I went to the Trash bin, restored the folder and now it's all good!

    Next time I add files to my folder I will make sure the files get copied into the project.

    This Apple doc was of great help: https://developer.apple.com/library/ios/qa/qa1649/_index.html

    Good luck

提交回复
热议问题