Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 questions (Could not read from Info.plist and Objective C/Xcode error: The file “Info.plist” couldn’t be opened because there is no such file)...I am using a relative path, and the plist file is in the correct absolute location. The type and location are correct as shown in the image below:

plist path

My biggest concern is that this is now happening on multiple projects, including one I ran successfully just a few hours ago! Does anyone know how to solve this???

EDIT I've also tried reinstalling XCODE and replacing the plist file. Xcode still can't find 'info.plist'.

NOTE I wanted to add that this was for Xcode 6.2.X (I can't remember which version number exactly, but it was pre-Xcode 6.3.X).

like image 402
narner Avatar asked Oct 04 '14 03:10

narner


People also ask

How do I open a plist file on a Mac?

plist - The primary property list for Mac OS X applications, located in the /​Contents/​ directory of an . APP bundle. To view this file, right-click an application file, select "Show Package Contents," and open the Contents folder.

How do I open the info tab in XCode?

Navigate to the project (select it in the Project navigator), select the application target in the list of targets, then click the Build Settings tab. Under the Packaging section, make sure the "Info.

What does Info plist do?

Every iOS app uses an Info. plist file to store configuration data in a place where the system can easily access it to determine things like what icon to display, what languages or document types to support, and many other important behaviors.


2 Answers

I also face the similar issue in xcode 7.0 but none of the above Solutions Worked for me, at last I get a chance to solved this issue

  1. Go to: App Target
  2. See the Identify and choose the Plist

See the screenshot also

enter image description here

Enjoy

like image 54
nivritgupta Avatar answered Oct 06 '22 05:10

nivritgupta


The solution for this particular instance of the error was “Info.plist couldn't be opened because there is no such file” was that I had deleted all of the files in the "Project Tests" folder, but was still had "Project Tests" listed under my targets. After deleting the "tests" target, the project built successfully.

like image 25
narner Avatar answered Oct 06 '22 03:10

narner