views:

298

answers:

2

I'm trying to build my app and every time I do I get this error:

error: The file "Wallpapers-Info.plist" does not exist.

Anyone know what causes this error? I have the wallpaper-info.plist file in my resources directory.

G-Man

+1  A: 

I have the wallpaper-info.plist file in my resources directory.

The error indicates that Xcode is looking for a file called "Wallpapers-Info.plist". Are you sure you named the file correctly?

mipadi
Wallpapers-Info.plistThat's copied directly from finder.
GeoffreyF67
Hmmm...for whatever reason it appears that plist file cannot be placed in a subfolder.
GeoffreyF67
It can be -- you just have to make sure that Xcode knows the proper path to it. Perhaps when you added it it *wasn't* in a subdirectory, and then you moved it?
mipadi
+1  A: 

The value of the Info.plist File build setting in your Target Settings has to be a partial path, relative to the project directory, to the Info.plist file. If you move or rename the Info.plist file, you have to change the value of the build setting. So if you placed the Info.plist file in Resources, set the build setting to Resources/Wallpapers-Info.plist .

cdespinosa