Conversation
…compatible with Swift 2.3 - Commander 0.5.0 is for Swift 3 - PathKit 0.7.0 is for Swift 3 - Stencil 0.6.0 is for Swift 3
|
Thanks for the PR. Don't forget to add s CHANGELOG entry; it would be nice to mention the original author of the related PR that made the effort on the 2.3 port as well in that entry |
|
Updated! |
|
Yay I made it to the changelog! 💪 Thanks! |
|
hey @ikesyo, I tried to compile this on Xcode 8, I saw some issues with dependencies - is this PR supposed to get swiftgen all the way up to Xcode 8 support, or should updating the dependencies be another pull request? |
|
@AndrewSB This should be fine on Xcode 8 with Swift 2.3: https://travis-ci.org/AliSoftware/SwiftGen/jobs/163091175. I'm not sure what the issues you are facing are. |
|
Xcode 8 sometimes pops up with its migration tool if it's set to Swift 2.3, wanting to update to Swift 3.0. Maybe that's what you mean @AndrewSB ? |
|
@dzenbot I do see that popup, but I'm having errors past that. Something related to |
|
Let me submit a PR with the changes that I needed to get swiftgen to build, so we can talk about if they're needed or not 👍 |
|
Interesting. For the frameworks needing the SWIFT_VERSION flag, I realized that Cocoapods isn't helping with that sometimes, so I fixed it this way on my project: |
|
(submitted #179) Yeah! It is super weird. Strange that someone hasn't contributed that change to Cocoapods 🤔 |
|
You mean #182 ? |
|
I do, thanks @dzenbot #selfretaincycle 😛 |
|
@AndrewSB You need CocoaPods 1.1.0.rc.2 to use Xcode 8. This pull request ran |
@dzenbot CocoaPods 1.1.0 (currently rc.2) now handles the setting correctly. |
|
ahh, I see! I'll update to their release candidate then. Thank you for your work @ikesyo 😃 |
|
Good to know @ikesyo! |
|
Apologies on dragging this out, but I'm still having issues building this branch: Everything compiles, but the Rakefile fails after that, whilst building the swiftgen binary. Any idea what that could be? |
|
@AndrewSB You could run it as |
|
that was perfect, thanks @kgrigsby59 On Tue, Oct 4, 2016 at 11:51 AM kgrigsby59 notifications@github.com wrote:
|
|
@AliSoftware this looks good to go, can it be merged in? |
|
👍
|
|
The only thing that prevents me to merge that is having some time to do an official release (I keep this PR open to remind me of doing a homebrew release once I've got enough time). That shouldn't take that long but I've been traveling lately and didn't use my Mac much so will need some time off to catch up on all those pending PRs on my various OSS work soon, sorry for the delay! |
|
@ikesyo I'm not sure if it's something to do with my personal machine, but It seems like
which includes the swift version. I can't work out how to do this though... Thoughts? Or is this working for you? |
|
Looks like it gets further here if you change to:
But then fails later when it does other toolchain stuff...which I don't understand :/ |
|
@plivesey Did you see #179 (comment)? Specifying a toolchain explicitly in Rakefile makes it difficult to support both Xcode 7.3 and Xcode 8. That would be fine if dropping Xcode 7.3 support is okay. |
|
🎉 💯 |
|
Finally, I've found some time to merge this! @plivesey @ikesyo @AndrewSB I've fixed the Rakefile in aa6ed1d so that now it:
So now SwiftGen is officially Swift 2.3 (and thus only supporting Xcode 8)! 🎉 Next step: Swift 3.0 conversion… but that's for another day! |
|
@AliSoftware Would you consider putting out a patch release for Homebrew? Thanks. |
|
@zmwangx That's the plan 👍 |
|
Cool, thanks. |
|
🎉🎉🎉 thanks @AliSoftware! |
|
3.0.1 should already be available thru CocoaPods. |
|
Thanks @AliSoftware and @ikesyo :). I couldn't work this all out on my own, but working after rebasing. 🎉 |

Supersedes #171, #176 and #178. This preserves Xcode 7.3 support.
CocoaPods 1.1.0.rc.2 is required.