• 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: loading a bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: loading a bundle


  • Subject: Re: loading a bundle
  • From: j o a r <email@hidden>
  • Date: Mon, 22 Jan 2007 07:56:25 +0100


On Jan 21, 2007, at 11:35 PM, Wesley Smith wrote:

I started with the default Bundle target and made a few modifications.
I added Pkginfo file with the string BNDL???? in it.  I have a custom
build step that puts it in the Contents folder of the bundle.  When
the command NSCreateObjectFileImageFromFile is called and it tries to
load the bundle, it fails.  I have a proper Info.plist in the bundle
pointing to the executable, so I'm at a loss as to why this fails.

I'm surprised that you had to make any custom modifications for constructing the bundle folder hierarchy, usually Xcode already knows how to do that.


Any particular reason you're not using CFBundle / NSBundle for your runtime loading of bundles?

j o a r


_______________________________________________ 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
  • Follow-Ups:
    • Re: loading a bundle
      • From: "Wesley Smith" <email@hidden>
References: 
 >loading a bundle (From: "Wesley Smith" <email@hidden>)

  • Prev by Date: Re: Are you sure you want to delete the targets?
  • Next by Date: Re: loading a bundle
  • Previous by thread: loading a bundle
  • Next by thread: Re: loading a bundle
  • Index(es):
    • Date
    • Thread