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

Launch with bundle fails the first time


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

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. If it matters, superapp is a System Pref Pane
and subapp is a background-only Cocoa and/or Carbon app.

How can I work around this?

Thanks,

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: Sherm Pendley <email@hidden>
  • Prev by Date: Re: Core Data, using refreshObject:mergeChanges: to trim a portion of my object graph and regain memory... PLEASE HELP!!!!!!!
  • Next by Date: Re: Launch with bundle fails the first time
  • Previous by thread: Re: NSTextView Not Drawing Text
  • Next by thread: Re: Launch with bundle fails the first time
  • Index(es):
    • Date
    • Thread