alexisakers / HTMLString

Escape and unescape HTML entities in Swift
MIT License
170 stars 69 forks source link

Looks good, doesn't work #9

Closed bernikowich-cedoni closed 6 years ago

bernikowich-cedoni commented 6 years ago

Code won't compile on Xcode 9. Some of String init methods are optionals.

alexisakers commented 6 years ago

The code seems to compiles fine on Xcode 9 (both local and CI). Could you please share your compilation errors?

If you are using CocoaPods, make sure SWIFT_VERSION is set to Swift 4 in the Build Settings of Pods.xcodeproj, as this can be a source of errors.

alexisakers commented 6 years ago

I'm gonna close this issue for now. If you still have problems compiling the library, feel free to open a new one with more details :)