• 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
RE: Can't eliminate errors to build command line bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Can't eliminate errors to build command line bundle


  • Subject: RE: Can't eliminate errors to build command line bundle
  • From: "David Litwin" <email@hidden>
  • Date: Mon, 10 Apr 2006 11:24:08 -0700
  • Thread-topic: Can't eliminate errors to build command line bundle

A few days ago I was looking into doing the same thing, and posted a
list of steps.  Check out:
http://lists.apple.com/archives/xcode-users/2006/Apr/msg00164.html
In particular, step 6.) is what you are looking for.

I stopped at that point, because it was a diversion that turned out to
have nothing to do with solving my problem at the time.

David Litwin
BigFix

-----Original Message-----
From: xcode-users-bounces+david_litwin=email@hidden
[mailto:xcode-users-bounces+david_litwin=email@hidden] On
Behalf Of Tron Thomas
Sent: Friday, April 07, 2006 8:49 PM
To: email@hidden
Subject: Can't eliminate errors to build command line bundle

I am wanting to experiment with debugging loadable bundles, so I
tried creating an command line application that loads a bundle and
calls functions inside it.  Because this was a command line utility I
did not need to create a Cocoa or Carbon bundle.  Xcode does not
allow for the creation of a command line bundle so I chose to create
a dynamic library instead.  I then went in to the settings for that
library and changed the Mach-O Type from Dynamic Library to Bundle.
I also had to clear out the Current Library Version and Compatibility
Version settings.  Now when I try to build the bundle I get the
following error output:

/usr/bin/ld: -single_module or -multi_module flags can only be used
when -dylib is also specified

I cannot find any settings that will let me change anything to
eliminate the error.  What changes do I need to make so I can build
the bundle?

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

This email sent to email@hidden
 _______________________________________________
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: Universal binary supported Mac OS's
  • Next by Date: Re: Simple Question
  • Previous by thread: Can't eliminate errors to build command line bundle
  • Next by thread: Odd crash
  • Index(es):
    • Date
    • Thread