• 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
Adding info plist segment for code signing messes up NSBundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding info plist segment for code signing messes up NSBundle


  • Subject: Adding info plist segment for code signing messes up NSBundle
  • From: Jim O'Connor <email@hidden>
  • Date: Sat, 01 Oct 2011 18:33:06 -0800

I have a helper tool which lives in Contents/MacOS along with the primary binary.
The helper tool needs access to the resources in the bundle.
Once I added the info plist text segment so I could sign the helper tool NSBundle won't work properly. [NSBundle mainBundle] now doesn't refer to the bundle of the primary application. I can't create an NSBundle of the primary application using the path to it, either.

So far, the only things which do work are the class methods which take a path, but I don't get localization of resources in that way.

Is there some way to get the bundle for the actual surrounding app the way I did before I added the info.plist to my helper apps binary?


Thanks,
Jim O'Connor_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Adding info plist segment for code signing messes up NSBundle
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: NSOperationQueue: -waitUntilAllOperationsAreFinished and -setSuspended:
  • Next by Date: Re: Adding info plist segment for code signing messes up NSBundle
  • Previous by thread: Re: NSOperationQueue: -waitUntilAllOperationsAreFinished and -setSuspended:
  • Next by thread: Re: Adding info plist segment for code signing messes up NSBundle
  • Index(es):
    • Date
    • Thread