oc使用swift库小记
2017-11-08 本文已影响7人
李某lkb
[图片上传中...(iconstore_1024pt.png-e89daf-1512482885857-0)]
1.在podfile里把use_frameworks! 注释打开.
2.选择target-buildSetting,搜索DEFINES_MODULE ,设置为YES.
3.在pod里把SWIFT_VERSION 选择为对应的swift版本就好了.
//编译,开跑.
[图片上传中...(iconstore_1024pt.png-e89daf-1512482885857-0)]
1.在podfile里把use_frameworks! 注释打开.
2.选择target-buildSetting,搜索DEFINES_MODULE ,设置为YES.
3.在pod里把SWIFT_VERSION 选择为对应的swift版本就好了.
//编译,开跑.