should set iOS platform when using alamofire

来源:互联网 发布:python 抢购脚本 编辑:程序博客网 时间:2024/06/07 13:56

when using alamofire with Cocoapod,
should set iOS platform in Podfile otherwise alamofire library can not be find when import Alamofire

Example:
platform :ios, ‘9.0’

use_frameworks!

target ‘Your Project’ do
pod ‘Alamofire’, ‘~> 3.1.2’

Other method which is not successful for me
https://github.com/Alamofire/Alamofire/issues/441

0 0
原创粉丝点击