Re: Cannot Resolve Symbol Error/WO 5.3.1
Re: Cannot Resolve Symbol Error/WO 5.3.1
- Subject: Re: Cannot Resolve Symbol Error/WO 5.3.1
- From: Lachlan Deck <email@hidden>
- Date: Fri, 18 Nov 2005 15:18:59 +1100
Hi Jonathan,
On 18/11/2005, at 11:04 AM, Jonathan Miller wrote:
I've seen a few people have had issues related to 5.3.1 and I'm one
of them.
Welcome aboard :-)
After the upgrade I'm getting the "jam failed with exit..." error
and I'm also getting a 100 cannot resolve symbol errors when
compiling.
Seems like all the errors are all related to my EO Java classes.
Has anyone had any similar problems and more importantly has anyone
figured out a fix?
Yes, that happened to me initially. I have my EO classes (together
with their respective models) in a separate framework included in the
main project and anyway after up(or side)grading to Xcode 2.2 and
WO5.3.1 from Xcode 2.0/WO5.2.4 I initially had this problem as you
describe where it wouldn't recognise my EO classes.
Try trashing your build dir, re-index your project. I seem to
remember it took a couple of goes for it to finally go "Oh yeah I can
find them"
If that fails... do what I did and refresh your environment.
The fix to this I've not wittled down to a guaranteed process yet -
but some combination of the following should help:
- quit Xcode
- trash the project build directory
- in Terminal (or reveal package contents in Finder) for your
*.xcodeproj
remove everything except project.pbxproj
- backup or delete Xcode prefs (so that the next time it opens
you're all fresh)
~/Library/Application Support/Apple/Developer Tools -> Developer
Tools.bak
Do the same for
~/Library/Preferences/com.apple.[EOModeler, Xcode, WebObjects
Builder] -> *.bak
Reinstall index templates
cd "/Developer/Extras/Xcode Index Templates/
./install_templates [1]
- reopen Xcode (and set up as desired - but don't use All-in-one)
- Open your Xcode project, re-build index for project, build...
[1] I've editing the install_templates file so that it will only
install the templates for the projects passed via the command line if
arguments are present. i.e.,
#!/bin/sh
if [ $# -ge 1 ]; then
INDICES=$*
else
INDICES="CPlusPlusIndex CarbonIndex CocoaIndex JavaIndex
CocoaEOFAppIndex CocoaJavaIndex JavaDTWJavaClientAppIndex
JavaWebObjectsAppIndex"
fi
<...>
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden