BalestraPatrick / HomeKitty

A Vapor 3 website to easily browse HomeKit accessories.
https://homekitty.world
MIT License
74 stars 9 forks source link

Migrate to Swift 4 #8

Closed BalestraPatrick closed 6 years ago

BalestraPatrick commented 6 years ago

The project is now written in Swift 3 and works great with Xcode 9. We should migrate to Swift 4 as soon as possible to keep up to date with Vapor latest features too.

wolffan commented 6 years ago

can't do 'swift build' :/ -> RFM 🤦‍♂️

BalestraPatrick commented 6 years ago

@wolffan Hey! To migrate to Swift 4 you may want to follow this post which goes through all the changes (starting from Package.swift which is why you can not run swift build): https://geeks.brokenhands.io/blog/posts/migrating-your-server-side-app-to-swift-4/

wolffan commented 6 years ago

Thanks @BalestraPatrick I'll do that. But also the migrator didn't run so was a bit lost :)