1:Swift4.0后第三方语法报错,想引用swift3.2
解决方法
在pods->targets->bass combined->swift compiler-languege
这里可以设置第三方使用的swift版本
2:The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Moya" target.
解决方法:
https://stackoverflow.com/questions/44379348/the-use-of-swift-3-objc-inference-in-swift-4-mode-is-deprecated
![image](https://img.haomeiwen.com/i1803099/e8f2523c77446726.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
网友评论