Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 562 Bytes

环境与安装.md

File metadata and controls

30 lines (17 loc) · 562 Bytes

环境要求

  • iOS 9.0 以上
  • Swift 4.2 以上

安装方法

Cocoapods

podfile中添加:

podfile配置

pod 'Lantern', '1.1.3'

然后pod install集成。

Swift Package Manager (Xcode 11+)

使用Xcode的包管理器添加本仓库URL。

File -> Swift Packages -> Add Package Dependency

添加URL:https://github.com/fcbox/Lantern

Manual

把本仓库下载到你本地,然后把Sources文件夹下的Lantern文件夹整个拖入Xcode,勾选拷贝文件选项即可,没有其它第三方依赖。