Dependency tracking with asset catalog and interface builder compilers
| Originator: | jake.petroules | ||
| Number: | rdar://21786925 | Date Originated: | 12-Jul-2015 03:49 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | |
| Classification: | Reproducible: |
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!
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!