nghialv / MaterialKit

Material design components for iOS written in Swift
MIT License
2.51k stars 290 forks source link

Causing Multiple errors after installing the pods. #71 #72

Open ajay2c9 opened 6 years ago

ajay2c9 commented 6 years ago

I am using swift 4. After installing the pod lot of errors are displaying. is there any update on this pod?

Thank you

tomkey3 commented 6 years ago

Also having this issue. It seems that 'MaterialKit' has no support for Swift 4 anywhere. Before, I had found my Swift 3 answer here #63. 'Material' seems to be the better replacement today, but was wondering if a solution was found to this? Would save a lot of work

tomkey3 commented 6 years ago

My temporary solution to this was to use the same Swift 3 solution I had listed. I had to target MaterialKit in the podfile to stay at Swift version 3.3 and have every other pod be set to Swift 4.x. This works as Xcode 9 allows for Swift 3.3 as an option. Obviously when Swift 5 comes out, this will be an issue again, but was the temporary fix I was looking for.

ApolloZhu commented 6 years ago

I would definitely recommend checking out the official Material Components from Google, but pull request #66 is compatible with Swift 4.