vtourraine / AcknowList

Acknowledgements screen displaying a list of licenses, for example from CocoaPods and Swift Package Manager dependencies.
MIT License
798 stars 60 forks source link

Compile Error #38

Closed mkismy closed 6 years ago

mkismy commented 6 years ago

From AcknowList 1.3, there is a compile issue on Xcode 9 with swift 3.2. It works fine on 1.2.

(directory)/Pods/AcknowList/Source/AcknowListViewController.swift:344:163: Type 'NSAttributedStringKey' (aka 'NSString') has no member 'font'
vtourraine commented 6 years ago

Thanks for the feedback.

AcknowList 1.3 (and up) is only compatible with Swift 4, as mentioned in the README and the .swift-version file.

AcknowList 1.2.x supports Swift 3.

If you need explicit support for Swift 3.2, you can send a pull request that we could tag 1.2.9, for instance. But since Xcode 9 also support Swift 4, there might be a simpler solution, depending on how exactly you use this code in your project.