• 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: add system-wide custom build rules?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add system-wide custom build rules?


  • Subject: Re: add system-wide custom build rules?
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 30 Dec 2009 14:11:29 -0800

On 2009 Dec 30, at 05:04, Dirk Becker wrote:

> Is there a way to define those custom build rules system wide rather than per-target?

I believe so.  Have you read this?

http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/XcodeBuildSystem/300-Build_Settings/bs_build_settings.html#//apple_ref/doc/uid/TP40002691-BACIFADG

In Fig. 3-1, note the "Application Settings layer".  It's a misnomer -- I'd call it "User Settings layer".

> Alternatively, is there any way to automate such work on XCode projects?
> I had a look at the AppleScript Dictionary but found nothing but text rulers ...

You must be looking at the wrong dictionary.  My Xcode AppleScript dictionary has 21 suites, starting with Standard Suite, including 8 Xcode xxx Suites, and ending with Type Definitions.

There is also a command-line tool, xcodebuild, but it is rather limited.  I use xcodebuild when possible; it's nicer because it runs in the background.  But Xcode's AppleScript is more powerful than xcodebuild.

> It would also be helpful if I could specify the default build phase per rule, currently added sources end up in "Copy Bundle Resources" rather than in "Compile Sources".

I believe they go into whatever group you have selected, but I'm not sure.  Also, you can drag them in directly from Finder to wherever you want, instead of using the Add to Project menu item.

 _______________________________________________
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: 
 >add system-wide custom build rules? (From: Dirk Becker <email@hidden>)

  • Prev by Date: Re: what's the right define to use for 10.5/10.6 differentiation
  • Next by Date: Re: Merging changes across NSManagedObjectContexts
  • Previous by thread: add system-wide custom build rules?
  • Next by thread: Re: add system-wide custom build rules?
  • Index(es):
    • Date
    • Thread