• 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: Source of "$(GROUP)"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Source of "$(GROUP)"


  • Subject: Re: Source of "$(GROUP)"
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 2 Jul 2010 16:56:58 -0700

On Jul 2, 2010, at 3:48 PM, Christiaan Hofman wrote:

> On Jul 3, 2010, at 0:37, Kirk Kerekes wrote:
>
>> I am trying to figure out where Xcode is obtaining its Installation Group ( $(GROUP) ) default setting from, so I can change it -- it is somehow erroneously set to be the same as the owner.
>>
>> "GROUP" is not listed in the "Xcode Settings" docs.
>>
>> Anybody know:
>>
>> 1. What the answer is.
>> 2. Where this answer is documented.
>>
>> Extra points for 2.
>>
>> Thank you.
>>
>
> I can't find any GROUP setting anywhere. Don't you mean INSTALL_GROUP? That one is included in the build settings, is set to "staff" by default AFAICS, and you c an get some documentation when you select it in the build settings of a target or project.
>
> And you cannot change default settings in Xcode, those are hard coded AFAIK.

This turned out to be substantially harder to answer than I originally thought.

Xcode gets most of its default build settings from .xcspec files in Xcode itself, its platforms, plugins, or SDKs, but a few are hard-coded into the project model itself.  Among these are:

USER
GROUP
UID
GID
and the MAC_OS_X_VERSION_* and XCODE_VERSION_* version numbers.

GROUP and GID are set at Xcode launch time using standard POSIX calls getegid() and getgrgid().

As Christiaan points out above, nothing in Xcode directly uses $(GROUP), but $(INSTALL_GROUP) is by default defined as $(GROUP) in the Core Build Settings.xcspec plugin.

You shouldn't bother trying to override or redefine GROUP; just set INSTALL_GROUP to the value you want.

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

References: 
 >Source of "$(GROUP)" (From: Kirk Kerekes <email@hidden>)
 >Re: Source of "$(GROUP)" (From: Christiaan Hofman <email@hidden>)

  • Prev by Date: Xcode editor scrolls page when I open or close strings/NSStrings
  • Next by Date: Re: Linking errors after upgrading to XCode 3.2
  • Previous by thread: Re: Source of "$(GROUP)"
  • Next by thread: How do I include both iOS4 and iOS3.1.3 icons?
  • Index(es):
    • Date
    • Thread