• 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
Bundle creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bundle creation


  • Subject: Bundle creation
  • From: Michael Ryan Bannon <email@hidden>
  • Date: Tue, 09 May 2006 15:01:23 -0400
  • Organization: Humagade

Hello all,
 
I read over the Bundle Programming Guide but am confused on some aspects, especially when I try to make a bundle in XCode.
 
First, I decided I needed a bundle so I could package all my resources and private libs/frameworks into one.  So I decided to make a Legacy Bundle and then update to a native project.  I was able to get everything built with little trouble.  At this point I didn't yet copy the frameworks or libs...I wanted to see what would happen when I just ran the bundle.  And this is where my first problem came up...
 
I realize that it is not possible to run a bundle through Xcode without making a custom executable.  So, I did that and had it execute the bundle (I assume this is the correct way to go...?).  However, when I ran the executable, I simply got the "session started" menu and that's it.  The bundle didn't seem to execute, no errors were given.  What did I do wrong?
 
At this point I decided to make an Application instead.  So, I created a Legacy Application and made it native (I do this because I don't want to create a Cocoa or Carbon or whatever app...I don't want the extra junk in there; is there a better way to do this?) 
 
When I looked at my Application product, I was suprised to see that it had the same structure as a bundle...so an XCode application is a bundle?  I knew that applications could be bundled, but I assuemd the way to do that would be to create a bundle and not an application. 
 
Anyways, at this point I was ready to copy my libs/frameworks into the product.  All my libs and frameworks were in seperate projects, so I just went ahead and wrote a script to put all my stuff in the product (MyApp.app/Contents/Frameworks).  But when I run the app it can't find any of that stuff.  It's looking in its executable path and /Library/Frameworks.  So, assuming that my app actually is a bundle, how do I get the bundle to actually look in its frameworks directory for the libs/frameworks?
 
Sorry for the novice questions, but I hope you can understand my confusion.
 
Thanks,
 
Ryan
 _______________________________________________
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: Bundle creation
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Still having problems with Undefined symbols
  • Next by Date: Re: Bundle creation
  • Previous by thread: Re: Run Script dependency
  • Next by thread: Re: Bundle creation
  • Index(es):
    • Date
    • Thread