Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cstromme

macrumors regular
Original poster
Feb 26, 2007
162
0
So I've been using my iDisk for the last year or so to store my obj-c projects on as I move a lot between two computers, but today it seems like something happened to my xcodeproj file.

I was working on a project and suddenly XCode started telling me the xcodeproj file on the disk was different from the one in XCode, and that it couldn't save the file. After trying to save several times I quit XCode and started it up again. The project loads fine, but whenever I try to compile I get an error wherever I try to declare a variable of one of my own classes.

The error is:
error: expected specifier-qualifier-list before 'PageChanger'

I've tried cleaning, but that doesn't seem to help.

So what might have happened here? And how do I fix it?
 
No idea how to fix it, sorry. If you've still got all the source files it shouldn't be too big of a deal to create a new project and put all your classes back in though.

And I'd definitely recommend using Dropbox instead of iDisk. It's way faster and I've found it syncs Xcode projects a lot better.
 
Basically it's like my project doesn't know that my classes exist when I try to compile. I tried removing the classes and dragging the files back in to re-add them, but I still get the same errors.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.