Closed wegotoeleven closed 5 years ago
Yep. Will do as soon as Xcode 10.1 downloads so I can do it!
So about 4 days?! 🤣
Thanks!
That's how long the xip archive takes to decompress... I'm really tempted to see if I can upgrade to Swift 4 in less time than it takes for that.
Okay @wegotoeleven. Check #39
I'll update to Swift 5 here in a little. I'm researching how to replace command line argument processing.
Swift 5 update complete. Go ahead and test away and let me know how it's working for you.
So far, this looks good, with testing on 10.14.4. I'm yet to test this on any version prior to 10.14.4, and I'm aware that Xcode 10.2 doesn't compile certain libraries into the project, as mentioned here (https://scriptingosx.com/2019/04/swift-5-for-macadmins/), so I'll report back when I've done some tests. Thanks for doing this!
It superficially sounds like we'll be fine for now; Yo is an application bundle, so the libs will be compiled in. However, I'm looking at how to move forward after the retirement of the CommandLine parser project, and one option is to rewrite yo just as a command line app. So this is very helpful information.
Consider this report #2
of this swift5 code working on Xcode 10.2/10.14.4 in limited testing so far, thanks G!
I'd say this issue is closed! :)
Hey. Yo won't compile on Xcode 10.2, as 10.2 doesn't support Swift 3. Do you have plans to update to Swift 4/5?