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 King
Andrew King
3,411 Points

The file “MyFirstObjectiveCProgramTests-Info.plist” couldn’t be opened because there is no such file.

Since upgrading to xcode 6.0.1 I'm getting several issues with the 'MyFirstObjectiveCProgram' files provided on the videos.

When I try to build and run code I get the following error:

error: could not read data from '/Users/A/Dropbox/Documents/Coding/Treehouse/Developement/Obj-C/catogories/MyFirstObjectiveCProgram/MyFirstObjectiveCProgramTests/MyFirstObjectiveCProgramTests-Info.plist': The file “MyFirstObjectiveCProgramTests-Info.plist” couldn’t be opened because there is no such file.

The odd thing is that I have the file 'MyFirstObjectiveCProgram-Info.plist' but for some reason Xcode has decided to inject the word 'Tests' into the file it's looking for. I've tried the projects in 5.1.1 however the plist error is still present.

Also, the framework 'XCTest.framework' is missing.

I have no idea why this is happening or how to fix it. Help would be appreciated.

Andrew

2 Answers

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

Sorry! I've updated the project templates to work with Xcode 6.

Andrew King
Andrew King
3,411 Points

Many thanks Amit!

Tucker Sherman
Tucker Sherman
3,746 Points

All working now thanks! one slight note - you may also want to update the files under "downloads" here http://teamtreehouse.com/library/objectivec-basics/introduction-to-objectivec/from-structs-to-objects

Andrew King
Andrew King
3,411 Points

I found a hackable fix in this this thread however I still have the framework 'XCTest.framework' missing.

Will this get fixed? I find it really odd that such a huge change to XCode would come but Treehouse staff haven't even gone as far as updating the project templates.