SDK集成
## 准备
1. SDKO最低支持iOS10
2. [demo下载地址](https://wellsign-soft.oss-cn-beijing.aliyuncs.com/sdko/ios/SDKO-Demo.zip)
3. 本SDK的运行依赖后台服务,请先部署好签SDKO后台,demo仅供演示用
### SDK导入步骤:
1. 将`Wellsign_ReaderSDK.framework`和`WSResource.bundle`拖入项目
![WX20190725152639.png](https://cos.easydoc.net/11494683/files/kuqju8ie.png)
2. 添加依赖的第三方库(建议使用Pods):
`pod 'Masonry'`
`pod 'YYText'`
`pod 'YYCache'`
`pod 'FMDB'`
`pod 'SVProgressHUD'`
`pod 'MJRefresh'`
3. 配置(Build Phases): Link Binary With Libraries : 添加 `libstdc++.dylib` 和 `Photos.framework`,`MobileCoreServices.framework`
![WX20190725153443.png](https://cos.easydoc.net/11494683/files/kuqjvn58.png)
4. Build Settings搜索bitcode,改为NO.
![WX20190725154227.png](https://cos.easydoc.net/11494683/files/kuqjvzkw.png)
5. Build Settings搜索`other linker flags`,去掉-Objc 后面的all字段
![WX20190726111153.png](https://cos.easydoc.net/11494683/files/kuqjw95r.png)