• 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 & Automator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode & Automator


  • Subject: Re: Xcode & Automator
  • From: Mark Bessey <email@hidden>
  • Date: Wed, 14 Sep 2005 10:57:43 -0700

On Sep 13, 2005, at 5:02 PM, Timothy J. Wood wrote:

The problem is osacompile. The target application must be running for osacompile to work, but I'm still in the middle of *building* the target application. This can be made to work, but is ugly when your AppleScript suite changes too quickly -- if the random copy of the app that osascript launches doesn't have the right dictionary, your actions might fail to build.

I think this is difficult because you have a circular dependency - the application can't be built without the actions, and the actions can't be built before the application is built. With Xcode, solutions to these sorts of issues almost always end up involving another target and a Copy Files or Run Script build phase in some way.


Probably the easiest way to do this is by building the application first by itself, then having a second target that builds the actions and copies them into the application wrapper.

-Mark



_______________________________________________
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


  • Follow-Ups:
    • Re: Xcode & Automator
      • From: "Timothy J. Wood" <email@hidden>
References: 
 >Xcode & Automator (From: "Timothy J. Wood" <email@hidden>)

  • Prev by Date: Re: File -> New File…
  • Next by Date: xcode & "get scm info" with perforce
  • Previous by thread: Xcode & Automator
  • Next by thread: Re: Xcode & Automator
  • Index(es):
    • Date
    • Thread