Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 8 support #38

Closed
RobertGummesson opened this issue Jun 15, 2016 · 7 comments
Closed

Xcode 8 support #38

RobertGummesson opened this issue Jun 15, 2016 · 7 comments

Comments

@RobertGummesson
Copy link
Owner

RobertGummesson commented Jun 15, 2016

Starting with Xcode 8, plugins will no longer be supported. I will make an attempt to work around this by making the Build Time Analyzer a standalone app. I believe this can be done by simply scanning the log files during the app launch (and perhaps with a refresh button or similar).

The most recent log file / files will be the ones to work with.

@RobertGummesson RobertGummesson changed the title Xcode 8 suport Xcode 8 support Jun 15, 2016
@onmyway133
Copy link

@RobertGummesson or we can add a new run script build phase, and trigger the standalone app from there

@RobertGummesson
Copy link
Owner Author

@onmyway133 - Yep, that's an option too. ...or perhaps both.

@orta
Copy link

orta commented Jul 4, 2016

I have a build log parser here: https://github.com/orta/Snapshots-app/blob/master/Snapshots/DeveloperDirWatcher.swift

Been wanting to convert all of this stuff into an XcodeSDK mixed with the new AppleScript API, but haven't made the time yet.

@RobertGummesson
Copy link
Owner Author

@orta Good stuff

@juliand665
Copy link

Is there any progress on Xcode 8 support? I'd love to use this!

@RobertGummesson
Copy link
Owner Author

RobertGummesson commented Sep 4, 2016

Yes, but it's been slow (other priorities). I'm still on it though so bear with me. :)

@RobertGummesson
Copy link
Owner Author

Update: #45 contains the implementation for the standalone app. I will be testing it throughout the day and merge it to master if nothing catches on fire.

A standalone app is obviously a bit more limited than a plug-in. Basically, the app now monitors the derived data folder rather than subscribing to Xcode notifications. Here are a couple of limitations:

  • The app doesn't indicate when a build process has started (but it knows when it ends)
  • Jumping to line upon selection no longer works, instead it just opens up the appropriate Swift file.

I have also made some smaller improvements. One is the ability to choose existing projects to analyze, i.e existing builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants