• 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: Speeding up Applescripting in xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speeding up Applescripting in xcode


  • Subject: Re: Speeding up Applescripting in xcode
  • From: Tobias Ford <email@hidden>
  • Date: Sat, 5 May 2007 14:10:30 -0500

I've tried doing this, but there was something wrong or missing in the syntax when I did this. The result was that the folder was added as a "Folder" type when, as a group it shouldn't have any type at all. Also, the source files that were contained in these folders weren't able to be added to any of the targets.

I'm hoping that there's a way to batch this by either adding the folder or passing a list of files. I just haven't figured out how to do this yet.

On May 5, 2007, at 1:34 PM, Greg Guerin wrote:

Tobias Ford wrote:

This is really, really slow. I'm updating about 12 (soon to be more
projects) with as many as a 400 files. The whole process takes about 15
minutes on my macbook. 99 percent of the time is spent in xcode due to the
calls "make new file reference" and "add sourceFile to projectTarget"


Is there a faster way to do this? Can I batch make and add?

I haven't tried this, so I don't know if it's possible, but instead of
iterating over every file yourself, can you just add the whole folder to
the project, then tell Xcode to add every item in the resulting group to
the desired target?


  -- GG


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden

------------------- Tobias Ford... tobias1482 'at' mac.com tford 'at' spacetimestudios.com ------------------- Sr Programmer @ space time studios for a generic space game mmo





_______________________________________________
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: 
 >Re: Speeding up Applescripting in xcode (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: Speeding up Applescripting in xcode
  • Next by Date: [Xcode 2.4.1, OS 10.4.9] file not found error
  • Previous by thread: Re: Speeding up Applescripting in xcode
  • Next by thread: Macro
  • Index(es):
    • Date
    • Thread