Re: Moving projects about
Re: Moving projects about
- Subject: Re: Moving projects about
- From: "Theodore H. Smith" <email@hidden>
- Date: Fri, 20 May 2005 21:09:30 +0100
dyld:
/Users/theodore/Desktop/SCOSource/Mac/build/SCObuilder.app/Contents/
MacOS/SCObuilder can't open library:
/Users/theodore/Desktop/Jobs/SCObuilder
Source/SCObuilderMac/build/SCObuilderMac.build/SCObuilderMac.build/
Objects-normal/ppc/libstdc++_ZeroLink.dylib (No such file or
directory, errno = 2)
SCObuilderMac has exited due to signal 5 (SIGTRAP).
I actually don't see any "jobs" string within any of the xcode project
files in the .xcode bundle. So where is this string stored so that I
may fix it???
This is so frustrating.
I don't even have ZeroLink enabled in my target settings.
Xcode doesn't seem to handle moving projects about or renaming
stuff so well...
I moved one project, and some of the files could no longer be
found, although others could, which is strange.
Most notably, even the executable path was built wrong.
Is there something I can do about this to prevent or fix it?
1) Check your file references. None should be "Absolute," though
Xcode 1.5 and earlier had a nasty penchant for creating them that
way, even when you asked it not to.
(Select the "red files", choose Get Info, look in "Path Type".
If it's "Absolute", click "Choose" and find the file, then set the
path type to "Relative to project" or "Relative to Enclosing Group".
The latter is preferred as it will then survuve not only moving the
project around, but also moving directories within the project)
2) Open your foo.xcode/project.pbxproj file in some text editor and
search for entries with "source tree = "<absolute>". You can
manually edit these references to be
refType = 4;
sourceTree = "<group>";
path = "filename.c"; /* just remove the absolute path to
the filename */
If you have a lot of them this is the easier way to do it.
Needless to say, do this after making a backup copy of your project
file; editing the text of a project file always entails some risk.
--
elfdata.com/plugin/ Industrial strength string processing, made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
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