• 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
Dependency tracking with asset catalog and interface builder compilers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dependency tracking with asset catalog and interface builder compilers


  • Subject: Dependency tracking with asset catalog and interface builder compilers
  • From: Jake Petroules <email@hidden>
  • Date: Sun, 12 Jul 2015 12:48:51 -0700

Apple Developer Tools Team,

I'm doing some work integrating Interface Builder tools like the asset catalog compiler and XML Interface Builder document compiler into an external build system. Part of the core way in which we track dependencies is by knowing in advance which output files will be generated as a result of a particular command execution.

For the asset catalog compiler, there's already a helpful XML output with the "com.apple.actool.compilation-results" key that lists the output files generated by a particular execution. However, this requires us to effectively run the same invocation twice: once to get the list of output files, and again to do the actual compilation, which is redundant and wastes time due to the unnecessary disk I/O.

I would like to suggest adding a --dry-run option to actool that would run the normal compilation process except that it doesn't actually write any of the listed output files to disk (but still lists the files it *would* have written in the output). This should be trivial to implement and would be a huge help to us. It would be nice if ibtool could get the same treatment as well (for compiling XIBs and Storyboards) -- and ibtool also needs a "com.apple.ibtool.compilation-results" listing in its output.

Thanks!
-- 
Jake Petroules - jake.petroules at petroules.com

 _______________________________________________
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

  • Prev by Date: Re: unsafe printing
  • Next by Date: Patching Watchkit App's info.plist at build time.
  • Previous by thread: Re: Project template
  • Next by thread: Patching Watchkit App's info.plist at build time.
  • Index(es):
    • Date
    • Thread