No Syntax-coloring or symbol recognition for Cocoa Framework in my XCode 3.2.1 Project.
No Syntax-coloring or symbol recognition for Cocoa Framework in my XCode 3.2.1 Project.
- Subject: No Syntax-coloring or symbol recognition for Cocoa Framework in my XCode 3.2.1 Project.
- From: Motti Shneor <email@hidden>
- Date: Sun, 20 Dec 2009 07:05:42 -0500
- Acceptlanguage: en-US
- Thread-topic: No Syntax-coloring or symbol recognition for Cocoa Framework in my XCode 3.2.1 Project.
Hello.
I am working on an existing Carbon Based Bundle Project, doing its transition to 64bit and Cocoa.
I removed any references to Carbon Frameworks from the project, and any carbon headers inclusion from the source files.
I moved my sources from cpp to mm (ObjC-++) and replaced Carbon calls with Cocoa implementation and calls.
I added references to the relevant Cocoa frameworks (following the example of XCode 3.2.1 template Cocoa-bundle project).
My project must base on the 10.5 SDK, for compatibility reasons.
It now compiles fine, and even works.
However.... I could NOT see the regular syntax coloring of Cocoa symbols (objects, classes, parameters, selectors etc.) and I cannot "Jump to Definition". Weirdly enough, Carbon symbols are still usable.
I tripple-cleared any previous builds, and manualy removed any binary, precompiled-header or anything else from the project's folder.
I told XCode to clear all its caches,
relaunched XCode,
removed all User files from the XCode project-bundle, and even textually searched for any Carbon related stuff in the project-file's text.
logout/login
re-boot,
I even jumped and cursed a little.
Nothing. It knows Carbon, It does NOT know Cocoa.
After few days of despair, I did something by mistake. I changed the SDK to 10.6, and suddenly it IMMEDIATELY recognized all Cocoa API's and objects and beautifully colored them. I could jump to definition etc.
I then switched back to 10.5 SDK, and the coloring remained!.
But know, every time when I "Jump to definition", It opens Cocoa headers from the 10.6 SDK, although the project is 10.5 SDK based!!!!!
What to do?
What went wrong?
and ---- HOW TO FIX THIS?
Many thanks for any hint.
Motti Shneor
------------------------------------------
Senior Software Engineer
Waves Audio ltd.
[mailto: email@hidden]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden