Module compiled with swift 3.0 cannot be imported in Swift 3.0.1

后端 未结 9 1505
执念已碎
执念已碎 2020-11-30 21:59

I upgraded Xcode to 8.1 GM and am now getting the below error for SwiftyJSON. Other imported frameworks seem to work. Is there a way to force this to work in Swift 3 until S

9条回答
  •  有刺的猬
    2020-11-30 22:48

    Make sure you've placed the new XCode 8.1 GM package in your Applications folder. We ran into this issue when one of us was running Carthage to update our dependencies, but had not replaced the XCode old 8.0 application in the applications folder (8.1 GM was running off the Desktop).

    You want to make sure that when you run the following in terminal: xcrun swift -version that it returns Apple Swift version 3.0.1.

提交回复
热议问题