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

前端 未结 25 872
庸人自扰
庸人自扰 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:49

    This is my first post, but I have been a dedicated student here for a while now.

    For me the problem was a framework that I added. I know because when adding it, I got the problem and I test constantly during development on the simulator and I opened the simulator log and found the info.plist problem was solely with the framework I added. To double check, I deleted the framework and all references to it and tried building to the simulator again and everything went back to normal. So, after I tried everything that I read here and in other posts and not being able to fix the problem, I felt like throwing in the towel, but on my last attempt I did the following and it worked 24 hours after:

    1. I removed references and completely deleted the framework in question from my Xcode project.

    2. Opened Simulator, chose Simulator/Reset Content and Settings..

    3. In Xcode, I did a Product/Clean and while holding alt down, did a Product/Clean Build Folder. I think if you do the latter of the 2, Product/Clean is unnecessary, but I was grabbing at straws

    4. To add the framework back to the project, I chose the target/Build Phases and added a new Copy Files phase.

    5. Made destination "Frameworks", TICKED "Copy only when installing" before adding the framework ( this part is in bold because it is the only thing that I changed from my original attempt ) added the framework to the copy files phase.

    My blood pressure is back to normal now..

提交回复
热议问题