Re: Problems building project after CVS initial check-in
Re: Problems building project after CVS initial check-in
- Subject: Re: Problems building project after CVS initial check-in
- From: Chris Espinosa <email@hidden>
- Date: Sun, 8 Jul 2007 22:38:45 -0700
On Jul 8, 2007, at 9:47 PM, Todd Heberlein wrote: I just had a minor issue that others might run into, so I am posting this to the mailing list in case someone else runs into this in the future.
Observed Problem: After an initial CVS check-in and then checkout of an Xcode project, doing a "Build" failed with complaints about not finding the i386 code/symbols for a library I was linking against. (Note: I was using the instructions in the book "Step Into Xcode" for checking in and out CVS versions of a project.)
The Real Problem: The code I checked in was set up for a "Debug" build but not a "Release" build. The newly checked out version of the project somehow lost this information and was trying to do a "Release" build. (I am not sure if this is a CVS issue, and Xcode issue, or just a "fact of life" issue.)
Solution: (1) Changing the Build target back to "Debug" build solved the problem. (2) Just for thoroughness, I also updated the various build options for the "Release" version to pick up the correct paths for my library.
The contents of the .xcodeproj wrapper directory have general parts and user-specific parts. The user-specific parts (the <username>.pbxuser file and others) contain window layout and geometry, your bookmarks and breakpoints, and the active target, configuration, and executable.
The newly checked out version doesn't have your user settings if you didn't commit your <username>.pbxuser file to the repostory and update it when you set the Debug configuration. The user-independent, project default is usually Release.
Chris |
_______________________________________________
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