How to build Swift 3 project on Xcode 9?

前端 未结 5 1207
南方客
南方客 2020-12-14 06:10

Xcode 9 Release Notes says that Swift 3 compilation is supported:

One compiler for Swift 4 and Swift 3, Swift 4 and Swift 3 targets c

5条回答
  •  庸人自扰
    2020-12-14 06:16

    Xcode 9 needs the framework to be built with Swift 3.2 or higher. Go to https://github.com/emaloney/CleanroomLogger and click Download ZIP. Open the xcodeproj in Xcode 9. Press ⌘B. CleanroomLogger.framework turns from red to black. Drag the framework into your project. See related question: Realm issue with Swift 3.1

提交回复
热议问题