Xcode is using a -Xlinker flag that libtool doesn't understand

2015-03-29 Thread Jens Alfke
I have a target that contains Objective-C source files and builds a static library for iOS. It works fine. I just tried adding a single Swift file to it, and now it fails to build, with a strange link-time error: libtool: unknown option character `X' in: -Xlinker which sounds like Xcode

Re: Xcode is using a -Xlinker flag that libtool doesn't understand

2015-03-29 Thread Jens Alfke
Oops, I should have googled first. I found a discussion of this error from last June (right after the first Swift release): https://github.com/CocoaPods/CocoaPods/issues/2226 https://github.com/CocoaPods/CocoaPods/issues/2226 wherein someone quoted from the Xcode 6.0b2 release notes:

Re: Xcode is using a -Xlinker flag that libtool doesn't understand

2015-03-29 Thread Roland King
On 30 Mar 2015, at 08:19, Jens Alfke j...@mooseyard.com wrote: Oops, I should have googled first. I found a discussion of this error from last June (right after the first Swift release): https://github.com/CocoaPods/CocoaPods/issues/2226