Question about "xcodebuild install" with XCode 1.1
Question about "xcodebuild install" with XCode 1.1
- Subject: Question about "xcodebuild install" with XCode 1.1
- From: "William W. Fisher" <email@hidden>
- Date: Wed, 18 Feb 2004 11:04:46 -0500
I use 'pbxbuild install' in Mac OS X 10.1 and 10.2 to build the final
release of a large PB project. Now I am trying to do the same thing
with 'xcodebuild install' (from XCode 1.1), but I keep running into a
wall.
My XCode project is a converted PB project with two native targets. It
uses a similar model to the 'MoreAuthSample' sample code. There is an
application target which is dependent on a HelperTool target . The
Application target uses a 'Copy Files' build phase to copy the final
HelperTool into the compiled application's Executable directory.
The XCode project builds fine using the Development and Deployment
builds from within XCode. However, when I use 'xcodebuild install' for
a deployment build, only the HelperTool gets copied into my install
directory (/tmp/foo). My application bundle is still in the
UninstalledProducts directory and the executable has the size of a
Development build. The following settings are enabled in the
Deployment build style for the project:
Deployment Location --> Yes
Installation Path --> /foo
I have stripping turned off for the application target, since I want
CrashReporter to contain useful symbols.
The xcodebuild command line is:
xcodebuild install -project <ProjectName> -target <TargetName>
-buildstyle Deployment DSTROOT=/tmp
Has anyone run into this before? I confess that I used two separate
project files and a shell script to deploy in PB. However, I find that
the multi-target, single project file is much more convenient to work
with. Thanks.
Bill
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.