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

how can i fix the error on iOS "From Structs to Objects"; could not read data from...MyFirstObjectivecProgramtests-info

the project file included with this episode refers to "tests" but no tests exist in the file name. How do I correct the reference?

error: could not read data from '/Users/dirkf/Dropbox/LearnProg/Treehouse/iOS/sphere class/MyFirstObjectiveCProgramTests/MyFirstObjectiveCProgramTests-Info.plist': The file “MyFirstObjectiveCProgramTests-Info.plist” couldn’t be opened because there is no such file.

11 Answers

I ended up creating a new project from scratch and then completed the episode using that project. I tried several times to use the downloaded files with no success. Not sure why, but it doesn't seem to be compatible with the new version of Xcode.

I downloaded again. Now using Xcode 5, as before trying Xcode 6 Beta. It works now.

I tried doing that and getting the same problem. It's injecting 'tests' into the filename when trying to build the project. I am running it from a normal folder - do I have to put it in a developer folder?

error: could not read data from '/Users/dirkf/Dropbox/LearnProg/Treehouse/iOS/sphere class/MyFirstObjectiveCProgram/MyFirstObjectiveCProgramTests/MyFirstObjectiveCProgramTests-Info.plist': The file “MyFirstObjectiveCProgramTests-Info.plist” couldn’t be opened because there is no such file.

did you extract the files after downloading them? did you maybe move the .xcodeproj file out of the other folders so that its missing some of its files whenever you try and run? download the project file, extract them, and then open the project from the extracted location.

I didn't extract them because they either extract automatically or aren't zipped when I download them. I'm running the program directly from the download location and still get the same error.

are you on a mac or a pc

On a Mac.

have same exact problem

I have this same problem. What is the fix?

ProcessInfoPlistFile /Users/bijalba/Library/Developer/Xcode/DerivedData/MyFirstObjectiveCProgram-hgoowgjjryeezobsbphhdhbcvtmr/Build/Products/Debug/MyFirstObjectiveCProgramTests.xctest/Contents/Info.plist MyFirstObjectiveCProgramTests/MyFirstObjectiveCProgramTests-Info.plist cd "/Users/bijalba/Desktop/Development/sphere class" builtin-infoPlistUtility /Users/bijalba/Desktop/Development/sphere\ class/MyFirstObjectiveCProgramTests/MyFirstObjectiveCProgramTests-Info.plist -expandbuildsettings -platform macosx -o /Users/bijalba/Library/Developer/Xcode/DerivedData/MyFirstObjectiveCProgram-hgoowgjjryeezobsbphhdhbcvtmr/Build/Products/Debug/MyFirstObjectiveCProgramTests.xctest/Contents/Info.plist

error: could not read data from '/Users/bijalba/Desktop/Development/sphere class/MyFirstObjectiveCProgramTests/MyFirstObjectiveCProgramTests-Info.plist': The file “MyFirstObjectiveCProgramTests-Info.plist” couldn’t be opened because there is no such file.

This does not seem to be compatible with XCode 6, as the problems before were due to the beta.

I have also a problem with this.

I also have this problem, have tried opening the same project in Xcode 5 as well and still no luck. This is definitely worth looking into.

I just downloaded the project files for that video and it built and ran fine without any errors. maybe try downloading them again