nerdsupremacist / Syntax

Write value-driven parsers quickly in Swift with an intuitive SwiftUI-like DSL
https://quickbirdstudios.com/blog/swift-string-parse/
MIT License
147 stars 10 forks source link

Unable to get this to work on the latest xcode #4

Open javruben opened 4 years ago

javruben commented 4 years ago

I have tried Ogma both as a Swift PM dependency and as a Pod and both fail with different errors. In the former case it says CGRect and NSTextAttachment are not declared. Using the Pod it complains about Result not being initialized correctly. Is this package still maintained?

Thank you!

nerdsupremacist commented 4 years ago

Hi! Yes it's still maintained. However the pod hasn't been updated to Swift 5 yet. I hadn't had the time.

Which version of Swift and which version of Ogma did you try with SwiftPM? Oh and I'm guessing you're integrating into either iOS or macOS right? I probably have some clean up to do on the releases

nerdsupremacist commented 4 years ago

Ah I think I see the problem now. When integrating with iOS, some UIKit imports are missing.

I can make a new version soon