美文网首页
iOS开发笔记-64:更新Swift4.0后的问题以及解决方法

iOS开发笔记-64:更新Swift4.0后的问题以及解决方法

作者: 原味蛋炒饭 | 来源:发表于2017-12-01 10:09 被阅读217次

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)

相关文章

网友评论

      本文标题:iOS开发笔记-64:更新Swift4.0后的问题以及解决方法

      本文链接:https://www.haomeiwen.com/subject/xquibxtx.html