1
次のコードはエミュレータでエラーなしでビルドされますが、iPhoneでビルドするとエラーが発生します。最新のリリース7.3にアップデートXcodeの、Alamofire 3.4.0Alamofire 3.4.0 iphoneでコールエラーが発生しましたがエミュレータでエラーなしでビルド
Alamofire.request(.POST, endPoint,parameters:tokenParams)
.responseJSON {(response ) in
guard let data = response.data else {
print("error calling getting data from response")
self.delegate?.handleReturnedData("Error! getting data on call to get token")
return
}
私はターゲットiPhoneを構築する上で取得エラーです:タプル型の
値 '(NSURLRequest?NSHTTPURLResponse ?,結果)'(別名'(オプション、オプション、結果)')にはメンバー 'データ'はありません
何が起こっているのでしょうか?