• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode & deployment options
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode & deployment options


  • Subject: Re: Xcode & deployment options
  • From: Andrea -XFox- Govoni <email@hidden>
  • Date: Fri, 21 Oct 2005 22:18:54 +0200

Scott Tooker ha scritto:
>> Is it possible to install the product of a target through the Xcode  GUI?
>> I'm asking this because I set up a project[1]'s configuration with the
>> following build settings:
>> DEPLOYMENT_LOCATION = YES
>> DSTROOT = /
>> INSTALL_PATH = /Applications/ProvaJavaToolDeployment

> You also need to set
>
> DEPLOYMENT_POSTPROCESSING = YES

I tried but it didn't make any difference.
I didn't set this build setting in the testcase project because,
according to Xcode documentation, it seems DEPLOYMENT_POSTPROCESSING
isn't strictly required to perform a deployment installation.

>From Xcode 2.1 Build Settings Notes [1]:

"
DEPLOYMENT_LOCATION
If this setting is turned on, then the product will be built in the
deployment location rather than the development location. Typically this
means that TARGET_BUILD_DIR will be set to
$(INSTALL_DIR)/$(INSTALL_PATH), unless SKIP_INSTALL is set to YES.
When performing an xcodebuild using the install build action, this
setting will be set to YES for the duration of the build.

DEPLOYMENT_POSTPROCESSING
If this setting is turned on, then the product will be processed for
deployment and release purposes — rather than for development and
debugging purposes. As a result, the following operations will be
performed on the built product:
If STRIP_INSTALLED_PRODUCT is YES, then the produced binary will be
stripped.
Copy Files and Shell Script build phases set to “only run when
installing” will be processed.
The owner, group and mode of the produced files will be changed
according to the relevant build settings.
When performing an xcodebuild using the install build action, this
setting will be set to YES for the duration of the build.
"

> I'd also recommend not setting DSTROOT to / and instead dittoing the
> sparse root produced into your actual system after verifying that you
> have a good root. This doesn't matter so much with applications, but  it
> can be a lifesaver with libraries or frameworks.

Ok, thanks for the advice.

[1]
<http://developer.apple.com/releasenotes/DeveloperTools/Xcode/XcodeBuildSettings.html>

--
Andrea "XFox" Govoni

ICQ UIN: 43488185
AIM/iChat: email@hidden
Yahoo! ID: xfox82
Skype Name: draykan

PGP
KeyID: 0x212E69C1
Fingerprint: FBE1 CA7D 34BE 4A53 9639  5C36 B7A0 605F 212E 69C1
 _______________________________________________
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

References: 
 >Xcode & deployment options (From: Andrea -XFox- Govoni <email@hidden>)
 >Re: Xcode & deployment options (From: Scott Tooker <email@hidden>)

  • Prev by Date: Re: Speeding up XCode?
  • Next by Date: Objective-c++ error
  • Previous by thread: Re: Xcode & deployment options
  • Next by thread: Building gcc
  • Index(es):
    • Date
    • Thread