CocoapodsでAlamore-SwiftJSONをインストールしましたが、バージョンの指定をどうすれば良いか分かりません。他のサイト等で調べましたが、できません。
pod installで以下のように表示されます。
Updating local specs repositories Analyzing dependencies Pre-downloading:
Alamofire-SwiftyJSONfrom
https://github.com/SwiftyJSON/Alamofire-SwiftyJSON.git`
[!] Unable to satisfy the following requirements:
Alamofire
required byPodfile
Alamofire (= 1.3)
required byAlamofire-SwiftyJSON (2.0.0-beta.1)
Specs satisfying the Alamofire
dependency were found, but they required a higher minimum deployment target.
`
Podfileは
`
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.1'
use_frameworks!
target 'サービス名' do
Alamofire-SwiftyJSON
pod 'Alamofire-SwiftyJSON', :git => "https://github.com/SwiftyJSON/Alamofire-SwiftyJSON.git"
pod 'Alamofire'
pod 'SwiftyJSON'
end
target 'サービス名Tests' do
end
target 'サービス名UITests' do
end
`
と記述しております。
なぜ出来ないのか。どうすればライブラリーを取得できるのか、教えていただけないでしょうか?
もしくは、Alamorefire-SwiftyJSON以外を用いて、API等でデータベースへ接続する手法を教えてください。
Swift 勉強中で至らない部分があり、申し訳ありません。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/11/08 10:46