Skip to content
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.

Pod build fails - unknown option character `X' in: -Xlinker #26

Closed
yelled3 opened this issue Jan 20, 2015 · 2 comments
Closed

Pod build fails - unknown option character `X' in: -Xlinker #26

yelled3 opened this issue Jan 20, 2015 · 2 comments

Comments

@yelled3
Copy link

yelled3 commented Jan 20, 2015

I installed the pod using:

pod 'BrightFutures', :git => "https://github.com/Thomvis/BrightFutures.git"

when building the project I get:

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

I'm using Xcode 6.1.1 (6A2008a)
For the time being I just embedded BrightFutures in my project, without cocoapods :-/

Anyone?

full error:

Libtool /Users/yelled3/Library/Developer/Xcode/DerivedData/Smore-bikwhdybmwziuicildyctmstzgwd/Build/Products/Debug-iphonesimulator/libPods-Smore-BrightFutures.a normal i386
    cd /Users/yelled3/Development/smore-ios/Smore/Pods
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only i386 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -L/Users/yelled3/Library/Developer/Xcode/DerivedData/Smore-bikwhdybmwziuicildyctmstzgwd/Build/Products/Debug-iphonesimulator -filelist /Users/yelled3/Library/Developer/Xcode/DerivedData/Smore-bikwhdybmwziuicildyctmstzgwd/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-Smore-BrightFutures.build/Objects-normal/i386/Pods-Smore-BrightFutures.LinkFileList -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/yelled3/Library/Developer/Xcode/DerivedData/Smore-bikwhdybmwziuicildyctmstzgwd/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-Smore-BrightFutures.build/Objects-normal/i386/Pods_Smore_BrightFutures.swiftmodule -framework Foundation -o /Users/yelled3/Library/Developer/Xcode/DerivedData/Smore-bikwhdybmwziuicildyctmstzgwd/Build/Products/Debug-iphonesimulator/libPods-Smore-BrightFutures.a

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character `X' in: -Xlinker
Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -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]
@Thomvis
Copy link
Owner

Thomvis commented Jan 20, 2015

Please make sure that you're running the latest CocoPods beta: 0.36.0.beta.1. You can check this by typing pod --version.

If you're not running the beta, use gem install cocoapods --pre to upgrade to the beta (at your own risk ;))

@yelled3
Copy link
Author

yelled3 commented Jan 21, 2015

thanks @Thomvis

@yelled3 yelled3 closed this as completed Jan 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants