Re: Compilation Phase Missed in Xcode 2.3
Re: Compilation Phase Missed in Xcode 2.3
- Subject: Re: Compilation Phase Missed in Xcode 2.3
- From: Scott Tooker <email@hidden>
- Date: Fri, 2 Jun 2006 10:23:22 -0700
My initial guess is that the last modified time on the .o files is
messing with dependency analysis, leading Xcode to believe that all
the files are up to date. I'd try a clean build after removing the
build folder :(
Scott
On Jun 2, 2006, at 8:31 AM, Fritz Anderson wrote:
Second try -- I really would like suggestions (always including
thanks to Jonas Maebe).
Executive summary: In an Xcode project moved from 2.1 ppc to 2.3
i386, no source files are ever compiled during a project build. Is
there a solution other than rebuilding the project?
--- F
On 30 May 2006, at 12:34 PM, Fritz Anderson wrote:
I checked a medium-sized project out from Subversion, and find that
the build system fails to compile any of the source files.
The transcript shows the application resources are copied, and the
PCH is compiled. No error appears in the transcript, and Xcode's
status display shows "Build succeeded."
The linkage phase does not happen, but I assume this is a cascade
from the error in the source-files phase.
The file type of all the .m files is sourcecode.c.objc . All .h
files are sourcecode.c.h . All the required .m files are in the
current target. When the project was first opened all .m files were
shown dirty in the Details listing; closing and reopening Xcode
unchecked all the dirty flags, but otherwise had no effect.
Removing code (with uninstall.pl) and reinstalling (2.3, as before)
had no effect.
Compiling the files individually results in a compile, with
expected warnings.
Clean and Clean All had no effect.
There was a HeadeDoc script phase (which executed without error) at
the end of the build. Removing the phase and its product had no
effect.
Changing build configurations and target architectures has no
effect. I did change the target SDK from 10.2.8 to 10.3.9 before
attempting any build. My reference to the Cocoa framework pointed
directly to the 10.2.8 SDK framework (which was not installed). I
changed the reference to /System/Library... before the first build.
A large number of files, which had been in the project for
reference, and were not part of any target, were removed before the
first attempt to build.
Another project, checked out of the same svn server, builds properly.
Trashing the project-related directories in the (shared) build
folder has no effect. Curiously, all .o files show an impossible
"Last Opened" time of exactly one hour before the creation date. I
am in a location that observes daylight-savings time; the time
settings in the Control Panel are correct.
Trashing the user-specific files in the project bundle had no
effect beyond losing per-user preferences.
So. Any ideas? Anyone? Rebuilding the project from scratch may be
the right answer, but that's tedious enough that I hope for an
alternative.
-- F
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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