PruitIgoe
PruitIgoe

Reputation: 6384

iOS app cannot read info.plist

I made a copy of my app folder and saved it to another directory on my desktop. Now, my original app (or the copy) cannot run because it says the info.plist cannot be read from:

could not read data from '/Users/xxxxxxxx/Desktop/Development/Apps/EUS/EUS Calculator/EUS Calculator/EUS Calculator-Info.plist': The file “EUS Calculator-Info.plist” couldn’t be opened because there is no such file.

But, the EUS Calculator-Info.plist is at that path. I've looked through SO and the Google and can't seem to find a solution. How can I resolve this?

Upvotes: 1

Views: 1408

Answers (2)

Aaron Bratcher
Aaron Bratcher

Reputation: 6451

Select your target and then select the Build Settings. In there is a section called "Packaging"

Edit the Info.plist File setting. It should be relative to your project file.

Upvotes: 1

oiledCode
oiledCode

Reputation: 8649

Based on your comments

I never moved it, I simply made a copy. The original is on my Desktop... Desktop/Development/Apps/...I made a copy, pasted that into Desktop/GIT/ and ever since then I have been getting this error

and your error says

could not read data from '/Users/xxxxxxxx/Desktop/Development/Apps/EUS/EUS Calculator/EUS Calculator/EUS Calculator-Info.plist': 
The file “EUS Calculator-Info.plist” couldn’t be opened because there is no such file.

so it seems that the info.plist is pointing to the original one.

Upvotes: 0

Related Questions