我听从Cocoapods的指示.
下面是我的播客文件:
platform :ios, '8.2'
pod 'SwiftyJSON', '~> 2.1'
pod 'SwiftSpinner', '~> 0.6'
pod 'Alamofire', '~> 1.1'
pod 'SuperRecord', '~> 1.2'
pod 'Toucan
当我做pod install次时,我得到了以下错误:
用Swift编写的POD只能作为框架集成;该功能仍处于测试阶段.在你的Podfile或target中添加
use_frameworks!
, Select 使用它.
更新:
下面是我的控制台日志(log):
$ pod install
Analyzing dependencies
Downloading dependencies
Installing Alamofire (1.1.4)
Installing SuperRecord (1.2)
Installing SwiftSpinner (0.6.0)
Installing SwiftyJSON (2.1.3)
Installing Toucan (0.2.0)
[!] Pods written in Swift can only be integrated as frameworks; this feature is still in beta. Add `use_frameworks!` to your Podfile or target to opt into using it.