coder
coder

Reputation: 10520

Xcode 6.1.1 linker error with AlamoFire

All,

I'm running into a weird issue, and I can't find anything about this...

I'm adding AlamoFire via CocoaPods, and as a result I'm getting this error:

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character `X' in: -Xlinker

this specificially seems to be the part that I don't know how to handle: unknown option character `X' in: -Xlinker

My project is in Objective C, and I don't know if the issue is that AlamoFire is in Swift?

Upvotes: 0

Views: 89

Answers (1)

Zell B.
Zell B.

Reputation: 10296

Did you use CocoaPods 0.36 beta ? What really did the trick for me in this case was completely uninstalling cocoa pods, reinstalling it using

gem install cocoapods --pre 

and then installing Alamofire as described in their github page

Upvotes: 1

Related Questions