• 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: app delegate +initialize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: app delegate +initialize


  • Subject: Re: app delegate +initialize
  • From: John Baldwin <email@hidden>
  • Date: Tue, 6 Oct 2009 23:30:02 -0700

I tried your suggestions. Unfortunately, I kept getting the same behavior.

I found out that if I create the preference file (in <user>/Library/ Preferences/), then the application will launch from other locations. But I'm still baffled.

Launch from Drop Box location, no preferences file: Success
Launch from Drop Box location, preference file exists: Success
Launch from Desktop or Applications, no preference file: Fail
Launch from Desktop or Applications, preference file exists: Success.

In all four (six) of these cases, the same user is launching the application.

When the application crashes on launch, there is no record of the +initialize method being called. When the application launches successfully, there is a record of the +initialize method being called.

I put an NSLog statement at the beginning and end of the +initialize method to track when it gets called on the test machine.




On Tuesday Oct 6 9:14 AM, at 9:14 AM, Jerry Krinock wrote:


1. See if you can break it by deleting other items from the user's Public folder.
2. See if you can break it by changing permissions of the user's Public folder.
3. See if you can break it by turning off the network connection between the two computers.

_______________________________________________

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: app delegate +initialize
      • From: Jens Alfke <email@hidden>
References: 
 >Re: app delegate +initialize (From: John Baldwin <email@hidden>)

  • Prev by Date: Re: Issues with NSWindowDelegate on multiple Mac OS X platforms
  • Next by Date: Re: Triggering a Method when a Core Data Property is Altered.
  • Previous by thread: Re: app delegate +initialize
  • Next by thread: Re: app delegate +initialize
  • Index(es):
    • Date
    • Thread