• 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: Launch with bundle fails the first time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launch with bundle fails the first time


  • Subject: Re: Launch with bundle fails the first time
  • From: Trygve Inda <email@hidden>
  • Date: Fri, 08 Dec 2006 11:29:00 +0000
  • Thread-topic: Launch with bundle fails the first time

> On Dec 8, 2006, at 4:34 AM, Trygve Inda wrote:
>
>> I am trying to use:
>>
>> [[NSWorkspace sharedWorkspace]
>> launchAppWithBundleIdentifier:@"com.mycompany.myproduct" options:nil
>> additionalEventParamDescriptor:nil launchIdentifier:nil];
>>
>> To launch a subapp that is embedded in my superapp's bundle.
>>
>> This works fine in 99.9% of cases, but when the superapp is first
>> installed
>> on a machine, it fails presumably because the subapp has not been
>> registered
>> somehow with Launch Services.
>
> Have you tried launching your subapp with -launchApplication:?
>
> sherm--

Yes, but I lose the ability to add extra parameters:

options:(NSWorkspaceLaunchOptions)options
additionalEventParamDescriptor:(NSAppleEventDescriptor *)descriptor
launchIdentifier:(NSNumber **)identifier

:-(

Trygve


_______________________________________________

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

  • Follow-Ups:
    • Re: Launch with bundle fails the first time
      • From: Nir Soffer <email@hidden>
    • Re: Launch with bundle fails the first time
      • From: "Sean McBride" <email@hidden>
References: 
 >Re: Launch with bundle fails the first time (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Launch with bundle fails the first time
  • Next by Date: Re: Launch with bundle fails the first time
  • Previous by thread: Re: Launch with bundle fails the first time
  • Next by thread: Re: Launch with bundle fails the first time
  • Index(es):
    • Date
    • Thread