• 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 building a bundle - fails on compatibility version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode building a bundle - fails on compatibility version


  • Subject: Xcode building a bundle - fails on compatibility version
  • From: Roland King <email@hidden>
  • Date: Mon, 10 Mar 2014 18:57:15 +0800

I'm trying to build a bundle in Xcode (I'm actually trying to replicate in Xcode what Wireshark's enormous makefile does for a single simple plugin in Xcode). I'm fairly close however the link stage is failing because Xcode is adding the flags -compatibility-version and -current-version to the link line and that's incompatible with -bundle. 

clang: error: invalid argument '-compatibility_version 1' only allowed with '-dynamiclib'

I've looked around the options and haven't found a way to stop Xcode adding those options (nor the -single_module option I don't think I want). Is there a way I can force those flags not to be emitted with an option I've not yet found? 
 _______________________________________________
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: Project copying
  • Next by Date: xcodebuild fails to "load dependencies output contents"
  • Previous by thread: Re: Automating archiving/signing/uploading an app?
  • Next by thread: xcodebuild fails to "load dependencies output contents"
  • Index(es):
    • Date
    • Thread