Run brew install swiftgen returns following error under Xcode8:
rake aborted!
[!!!] You need to use Xcode 7.x to compile SwiftGen. Use xcode-select to change the Xcode used to build from command line.
/private/tmp/swiftgen-20160926-78163-1b2b956/SwiftGen-3.0.0/Rakefile:46:in `block in <top (required)>'
Tasks: TOP => install => install:light => build => check_xcode_version
(See full trace by running task with --trace)
Run
brew install swiftgenreturns following error under Xcode8: