質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Swift 2

Swift 2は、Apple社が独自に開発を行っている言語「Swift」のアップグレード版です。iOSやOS X、さらにLinuxにも対応可能です。また、throws-catchベースのエラーハンドリングが追加されています。

Q&A

1回答

1419閲覧

Alamofireがxcode7.3に移植してからおかしくなった。

mk_ko

総合スコア8

Swift 2

Swift 2は、Apple社が独自に開発を行っている言語「Swift」のアップグレード版です。iOSやOS X、さらにLinuxにも対応可能です。また、throws-catchベースのエラーハンドリングが追加されています。

0グッド

0クリップ

投稿2016/04/28 07:02

###前提・実現したいこと
Xcode7.2から7.3に移植したコードのバグを直しているうちに、Alamofireのエラーにぶつかった。

###発生している問題・エラーメッセージ

"Alamofire.upload (Alamofire.Method, Alamofire.URLStringConvertible, headers : [Swift.String : Swift.String]?, multipartFormData : (Alamofire.MultipartFormData) -> (), encodingMemoryThreshold : Swift.UInt64, encodingCompletion : (Alamofire.Manager.MultipartFormDataEncodingResult) -> ()?) -> ()", referenced from: "Alamofire.request (Alamofire.Method, Alamofire.URLStringConvertible, parameters : [Swift.String : Swift.AnyObject]?, encoding : Alamofire.ParameterEncoding, headers : [Swift.String : Swift.String]?) -> Alamofire.Request", referenced from: "Alamofire.Request.responseJSON (queue : __ObjC.OS_dispatch_queue?, options : __C.NSJSONReadingOptions, completionHandler : (Alamofire.Response<Swift.AnyObject, __ObjC.NSError>) -> ()) -> Self", referenced from: "Alamofire.Result.value.getter : A?", referenced from: "Alamofire.(upload (Alamofire.Method, Alamofire.URLStringConvertible, headers : [Swift.String : Swift.String]?, multipartFormData : (Alamofire.MultipartFormData) -> (), encodingMemoryThreshold : Swift.UInt64, encodingCompletion : (Alamofire.Manager.MultipartFormDataEncodingResult) -> ()?) -> ()).(default argument 2)", referenced from: "Alamofire.(upload (Alamofire.Method, Alamofire.URLStringConvertible, headers : [Swift.String : Swift.String]?, multipartFormData : (Alamofire.MultipartFormData) -> (), encodingMemoryThreshold : Swift.UInt64, encodingCompletion : (Alamofire.Manager.MultipartFormDataEncodingResult) -> ()?) -> ()).(default argument 4)", referenced from: "Alamofire.(request (Alamofire.Method, Alamofire.URLStringConvertible, parameters : [Swift.String : Swift.AnyObject]?, encoding : Alamofire.ParameterEncoding, headers : [Swift.String : Swift.String]?) -> Alamofire.Request).(default argument 3)", referenced from: "Alamofire.(request (Alamofire.Method, Alamofire.URLStringConvertible, parameters : [Swift.String : Swift.AnyObject]?, encoding : Alamofire.ParameterEncoding, headers : [Swift.String : Swift.String]?) -> Alamofire.Request).(default argument 4)", referenced from: "Alamofire.Request.(responseJSON (queue : __ObjC.OS_dispatch_queue?, options : __C.NSJSONReadingOptions, completionHandler : (Alamofire.Response<Swift.AnyObject, __ObjC.NSError>) -> ()) -> Self).(default argument 1)", referenced from: "Alamofire.Request.(responseJSON (queue : __ObjC.OS_dispatch_queue?, options : __C.NSJSONReadingOptions, completionHandler : (Alamofire.Response<Swift.AnyObject, __ObjC.NSError>) -> ()) -> Self).(default argument 0)", referenced from: "generic type metadata pattern for Alamofire.Result", referenced from: "generic type metadata pattern for Alamofire.Response", referenced from: clang: error: linker command failed with exit code 1 (use -v to see invocation)

###試したこと
alamofireのバージョンを3.3にしてpod set upなど試したが失敗。

###補足情報(言語/FW/ツール等のバージョンなど)
xcode7.3
alamofire3.3
*他にも何か手がかりになる情報があれば教えてください。upします。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

pod set upではなく、pod updateではないでしょうか?

投稿2016/07/24 12:33

退会済みユーザー

退会済みユーザー

総合スコア0

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問