• 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: Problems launching tool from within application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems launching tool from within application


  • Subject: Re: Problems launching tool from within application
  • From: Laurent Daudelin <email@hidden>
  • Date: Wed, 07 Mar 2007 15:47:22 -0500
  • Thread-topic: Problems launching tool from within application

Hello Michael and thanks for taking the time to reply.

Do you mean creating a new target? If so, I'm not sure how I did it. That
was quite a few months ago but I might give it a shot.

Thanks!

-Laurent.
--
============================================================================
Laurent Daudelin   AIM/iChat: LaurentDaudelin    <http://nemesys.dyndns.org>
Logiciels Nemesys Software               mailto:email@hidden

On Wed, 7 Mar 2007 12:34:47 -0500, Michael Watson wrote:
>
> Did you start a new project to make your tool UB? You may have chosen the
> wrong kind of tool.
>
>
>> On 07 Mar, 2007, at 12:30, Laurent Daudelin wrote:
>>
>> Hello.
>>
>> In one of my application, I have an executable tool that I launch in
>> privilege mode. Now, this has been working for a few years now, but now
>> doesn't work anymore. I guess I broke something when I updated my project to
>> make it an universal binary. Now, whenever my tool is launched in privilege
>> mode with the command AuthorizationExecuteWithPrivileges(), I get the
>> following error in the console:
>>
>> No Info.plist file in application bundle or no NSPrincipalClass in the
>> Info.plist file, exiting
>>
>> Now, I'm stumped. The Info.plist is there, in the main application bundle.
>> Of course, the tool being an executable, it doesn't have the Info.plist
>> file.
>>
>> So, what am I missing?
>>
>> Thanks in advance!
>>
>> -Laurent.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Prev by Date: NSDocument - NSSaveOperation disables Save Menu Item
  • Next by Date: Comparing Run Logs?
  • Previous by thread: Re: Problems launching tool from within application
  • Next by thread: Most elegant way to process command-line arguments in Cocoa?
  • Index(es):
    • Date
    • Thread