|
|
#1 |
|
Xcode 7235 errors!!!!! HELP!
Hey everyone, I have been programming in Xcode for a couple months now. I have been making a few apps to test out, I started one today and it told me that their was 7235 errors! I looked over my code their was no errors on my part, then I clicked the error log and it looked like the ENTIRE foundation.framework was messed up! Here's an example; FOUNDATION_EXPORT NSUInteger NSRoundUpToMultipleOfPageSize(NSUInteger bytes); Expected '=' ,' . ' ' ; ' ,' 'asm' or '_attribute_' before 'NSUInteger'. So, basically it's that times 7235. So what should I do.....re-install foundation.framework or what?
__________________
"Be the change you wish to see in the world" -Gandhi
|
|
|
|
0
|
|
|
#2 |
|
I would first confirm if this affects your past apps. If not, then trying to reinstall the framework doesn't make sense. It would also confirm your source just an an issue.
I don't even know if there is a way to reinstall just a framework. Perhaps you'd have to reinstall all of Xcode. |
|
|
|
0
|
|
|
#3 |
|
Have u tried readding the framework to your build phases? or just create a new project and see what's wrong?
|
|
|
|
0
|
|
|
#4 |
|
Are all of these errors in one file?
Are all of these errors in files that share a header file that you created? It smells like there's an extraneous character in one of your files, hiding in front of a #import statement, that's causing the preprocessor to barf on the foundation header file. Before you go about reinstalling Xcode only to find that the problem is still there, post a little bit of the code here and let some fresh eyes take a quick peek. Ron |
|
|
|
0
|
|
|
#5 | |
|
Quote:
__________________
"Be the change you wish to see in the world" -Gandhi
|
||
|
|
0
|
|
|
#6 | |
|
Quote:
I'll take some screenshots then post them here afterwords.
__________________
"Be the change you wish to see in the world" -Gandhi
|
||
|
|
0
|
|
|
#7 |
|
Photos
.pch file
![]() Errors ![]() ![]() ![]()
__________________
"Be the change you wish to see in the world" -Gandhi
|
|
|
|
0
|
|
|
#8 |
|
Look at the error right before one of the Expected '='... errors, in the 3rd screenshot, I think.
It says Invalid preprocessing directive #indef. Fix your spelling. I can't tell whether it should be #ifdef or #ifndef, but definitely not #indef. |
|
|
|
0
|
|
|
#9 |
|
If your other apps are not having this problem, then the problem is specific to your new apps source code. Now that you've shown us how the errors report on Apples include files, show us your source and any errors report on it. I think specifically the includes, imports, and @interface & @implementation lines. More broadly, the interface .h files and the source of the implementation file from the top down to and include the @implementation line.
My suspicion (wild guess) is that you have some rouge character between the top of a source file and down to a @interface & @implementation line. Maybe even you @interface & @implementation lines are not correctly formatted. EDIT: I see chown33 has a very sharp eye. |
|
|
|
0
|
|
|
#10 | |
|
Quote:
Not Workin'
__________________
"Be the change you wish to see in the world" -Gandhi
|
||
|
|
0
|
|
|
#11 |
|
Good news.....and bad news
As I have said previously it was the .pch file that was causing the problem.... so I deleted it from the project to see what would happen.
The Good News the +7,000 errors went away! The code for the .pch file matches the code from previous apps line-by-line so why would it not work on new projects I'm starting? The Bad News I need that file for the app to function and I received only one error that looked like this;Command/Volumes/Developer/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 Soooo....how do I fix?????
__________________
"Be the change you wish to see in the world" -Gandhi
|
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Xcode 4.1 'Run' won't work.. | DoodlyDoo | Mac Applications and Mac App Store | 0 | Sep 26, 2011 09:49 AM |
| changing Base SDK in xcode started giving errors | hrishidev | Mac Programming | 4 | Apr 21, 2011 01:29 AM |
| PLease, Please HELP! I Have an error that I cannot Fix!!! | Patoma16 | iPhone/iPad Programming | 5 | Feb 16, 2011 09:03 PM |
| Need Help....New Project Xcode internal error | NSG10 | Mac Programming | 4 | Aug 28, 2010 08:23 PM |
| Xcode exited error 5... help me! | ŠApple | Mac Programming | 3 | Jan 13, 2010 01:59 PM |
All times are GMT -5. The time now is 03:04 PM.




-Gandhi







the +7,000 errors went away! The code for the .pch file matches the code from previous apps line-by-line so why would it not work on new projects I'm starting? The Bad News
I need that file for the app to function and I received only one error that looked like this;
Linear Mode

