• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Xcode Libtool Error When Linking a Mac OS X Static Library with a Swift Class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode Libtool Error When Linking a Mac OS X Static Library with a Swift Class


  • Subject: Xcode Libtool Error When Linking a Mac OS X Static Library with a Swift Class
  • From: Thomas Wetmore <email@hidden>
  • Date: Wed, 11 Jun 2014 11:13:35 -0400

I'm converting my library to Swift. First pick was my concordance class. Other than many Xcode6 crashes the conversion went well using a playground. The playground was quite buggy, but not horribly onerous, and promising as a development and unit testing environment. When it didn't crash it was useful for testing each method during porting.

Then I tried to build a Mac OS X static library with that class as its only content. I got this error from the build process:

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

So libtool doesn't like an -Xlinker option that Xcode is giving it.

Googling the issue led to the idea that that it might have to do with entitlements and code signing, that code signing has to be off. But it is in my case, so this explanation doesn't explain my problem.

Has anyone come across this problem yet and discovered a fix?

Thanks,

Tom Wetmore
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: App ID issue
  • Next by Date: Re: App ID issue
  • Previous by thread: Re: App ID issue
  • Next by thread: "Illegal NSOutlineView data source" Xcode message
  • Index(es):
    • Date
    • Thread