• 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: Plugins work in PB, but not in standalone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plugins work in PB, but not in standalone


  • Subject: Re: Plugins work in PB, but not in standalone
  • From: Chaz McGarvey <email@hidden>
  • Date: Wed, 29 Oct 2003 07:02:53 -0700

On Oct 29, 2003, at 6:33 AM, Kevin Wojniak wrote:

I've NSLog-ed it and when I run it as a standalone app, it finds the plugins that I want to use in the built-in plugins path, but when I go and call [plugin principleClass] that returns null, but when I run it from PB it returns the plugin class and works fine. So I know it's not a problem with the file path stuff since it does fine the plugins.

Something similar happened to me, only they weren't plugins they were just images in the same directory as the executable. I thought that I could just get the images using a relative path (just the file name), but like you said, it only worked when the app was launched by Project Builder. Obviously I wouldn't have delivered the app like this, but it would have been convenient for testing purposes to do it like this. I still don't know why it works like this.

- Chaz
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Plugins work in PB, but not in standalone
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: Plugins work in PB, but not in standalone
      • From: "Alastair J.Houghton" <email@hidden>
References: 
 >Re: Plugins work in PB, but not in standalone (From: Kevin Wojniak <email@hidden>)

  • Prev by Date: Re: Plugins work in PB, but not in standalone
  • Next by Date: Re: (OT?) Where does one find a Cocoa programmer?
  • Previous by thread: Re: Plugins work in PB, but not in standalone
  • Next by thread: Re: Plugins work in PB, but not in standalone
  • Index(es):
    • Date
    • Thread