【发布时间】:2016-05-09 10:56:56
【问题描述】:
我在安装一些外部框架时遇到了一些问题。因此,我在一个空白项目中尝试了它,但错误是相同的,我不确定我做错了什么。error image
这有点不常见。似乎我确实安装了错误版本的框架,因为它在代码语法中出现了 40+ 错误。
此外,错误来自 Alamofire、AmazonS3RequestManager 等。
这是我的 podfile,我只是将pod install 放在目标文件目录中
source 'https://github.com/CocoaPods/Specs.git'
# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!
target 'test' do
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
pod 'AlamofireImage', '~> 2.0'
pod 'Firebase', '>= 2.4.3'
pod 'SwiftValidator', '3.0.1'
pod 'AmazonS3RequestManager', '~> 0.8'
pod 'MBProgressHUD', '~> 0.9.2'
end
【问题讨论】:
标签: xcode swift cocoapods alamofire