Add Build Extensions for Xcode
| Originator: | orta.therox | ||
| Number: | rdar://26878879 | Date Originated: | 18-Jun-2016 04:20 PM |
| Status: | Open | Resolved: | |
| Product: | Dev Tools | Product Version: | 10.12 / XC8 |
| Classification: | Enhancement | Reproducible: |
Summary: In the past, I have a collection of build-related plugins to Xcode. These vary from the frivolous, to the daily essentials. I'd like to be able to create an extension that could be notified about build completions, and then can either: - Report back to the host app. - Present a view controller. I'll take my snapshots plugin as an example, https://github.com/orta/snapshots It listens for build completion notifications, then takes out the log file for the build and parses it to find a specific type of message in a test. If those messages are found, then it presents a UI for showing richer metadata than the plaintext log. Currently, it can be reproduced by kqueue/monitoring the `~/Developer/Xcode/DerivedData` folder. Or, by polling the running Xcode app instance using the new AppleScript dictionary ( thanks for that, seems comprehensive. ) This would present the UI in a completely separate application, which has a few downsides: - You have to remember to open the app - A developer would need to switch application to interact - Notifications will go through the OS, and have no way to persist inside Xcode as potential annotations - It wouldn't work with Xcode in full screen
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!