vendredi 30 janvier 2015

bug compiling alamofire - unknown option character `X' in: -Xlinker

Trying to add alamofire to a project using cocoapods. Xcode version: Version 6.1.1 (6A2008a)


Podfile:



source 'http://ift.tt/1czpBWo'
platform :ios, '8.0'

pod 'OAuth.io'
pod 'Alamofire', '~> 1.1'


Here's the error:



Libtool /Users/tony/Library/Developer/Xcode/DerivedData/Candytone-aynufizixrzmtwgatrvrjynlonxv/Build/Products/Debug-iphonesimulator/libPods-Alamofire.a normal x86_64
cd /Users/tony/src/candytone-ios/Candytone/Pods
export IPHONEOS_DEPLOYMENT_TARGET=8.1
export PATH="/Applications/http://ift.tt/1eHqHUg"
/Applications/http://ift.tt/1aauSQY -static -arch_only x86_64 -syslibroot /Applications/http://ift.tt/1wvrkVu -L/Users/tony/Library/Developer/Xcode/DerivedData/Candytone-aynufizixrzmtwgatrvrjynlonxv/Build/Products/Debug-iphonesimulator -filelist /Users/tony/Library/Developer/Xcode/DerivedData/Candytone-aynufizixrzmtwgatrvrjynlonxv/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-Alamofire.build/Objects-normal/x86_64/Pods-Alamofire.LinkFileList -L/Applications/http://ift.tt/107CuVI -Xlinker -add_ast_path -Xlinker /Users/tony/Library/Developer/Xcode/DerivedData/Candytone-aynufizixrzmtwgatrvrjynlonxv/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-Alamofire.build/Objects-normal/x86_64/Pods_Alamofire.swiftmodule -framework Foundation -o /Users/tony/Library/Developer/Xcode/DerivedData/Candytone-aynufizixrzmtwgatrvrjynlonxv/Build/Products/Debug-iphonesimulator/libPods-Alamofire.a

error: /Applications/http://ift.tt/1aauSQY: unknown option character `X' in: -Xlinker
Usage: /Applications/http://ift.tt/1aauSQY -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
Usage: /Applications/http://ift.tt/1aauSQY -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]



Aucun commentaire:

Enregistrer un commentaire