我按照Cocoapods的指示.
下面是我的Podfile:
platform :ios, '8.2'
pod 'SwiftyJSON', '~> 2.1'
pod 'SwiftSpinner', '~> 0.6'
pod 'Alamofire', '~> 1.1'
pod 'SuperRecord', '~> 1.2'
pod 'Toucan
Run Code Online (Sandbox Code Playgroud)
当我做pod安装时,我收到以下错误:
用Swift编写的Pod只能作为框架集成; 此功能仍处于测试阶段.添加
use_frameworks!到您的Podfile或目标以选择使用它.
更新:
以下是我的控制台日志:
$ 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 …Run Code Online (Sandbox Code Playgroud)