Module compiled with Swift 2.3 cannot be imported in Swift 3.0

前端 未结 5 558
梦如初夏
梦如初夏 2021-01-17 10:40

i add Facebook SDK (Swift) to my project. And now i update Xcode 8 and Swift 3. I have error in build time

Module compiled with Swift 2.3 cannot be imported         


        
5条回答
  •  鱼传尺愫
    2021-01-17 11:08

    Remember to set Use Legacy Swift Language Version to YES for your project target

    You are building your project in 2.3 and not in 3.0

提交回复
热议问题