Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Andrew Greene
Andrew Greene
415 Points

my first xcode project error

I cannot seem to figure out why I am getting the following error: error: could not read data from '/Users/andrewgreene/Downloads/sphere_class/MyFirstObjectiveCProgram/MyFirstObjectiveCProgramTests/MyFirstObjectiveCProgramTests-Info.plist': The file “MyFirstObjectiveCProgramTests-Info.plist” couldn’t be opened because there is no such file. I can see the plist file in the project navigator. It was not moved at any point after creating/opening the project. Any help is GREATLY appreciated!

2 Answers

Stone Preston
Stone Preston
42,016 Points

did you try restarting xcode? also try doing a clean by pressing command + shift + k while in Xcode

Andrew Greene
Andrew Greene
415 Points

Thanks, Stone. I did try a clean and restart but no luck. I know it is possible to check and edit the file-paths for the project, but I'm not sure how? Wouldn't the project be able to find the .plist file if it's in the same folder? If I did have to edit the paths, where do I do this exactly? Thanks, again.

Stone Preston
Stone Preston
42,016 Points

right click the file in the explorer and select show in finder. verify its actually there. is the file name red in the explorer?

Andrew Greene
Andrew Greene
415 Points

Thanks for your quick response. I am away from my computer for a while but will let you know as soon as I can. I really appreciate the help!