• 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: Change Budle Identifier, then lost defaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change Budle Identifier, then lost defaults


  • Subject: Re: Change Budle Identifier, then lost defaults
  • From: Finlay Dobbie <email@hidden>
  • Date: Thu, 25 Aug 2005 11:48:54 +0100

On 25/08/05, Kirt Cathey <email@hidden> wrote:
> The other day before compiling, I changed the name of the bundle identifier
> then compiled. After testing for a while, I noticed that the compiled app
> would not present a Preferences dialog box unless I clicked the pull-down
> menu twice. Among other things noticed when running with Omni Object
> Meter....
>
> Then when I went back to XCode to debug, I noticed that I lost all of my
> defaults and started getting nil assignment errors when MyDocument would
> load, etc.
>
> Now, no matter what I set the bundle identifier to be, errors persist and
> preferences are not saved on the hard disk.

At a guess, your code wasn't handling the case when there weren't
defaults present. When you changed the bundle identifier, you ended up
with an empty domain, and things started breaking. You hadn't noticed
this before because you had some non-nil values for some keys.

Just a wild stab in the dark. You're the only one in a position to
determine if that's the case or not :-)

 -- Finlay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Change Budle Identifier, then lost defaults
      • From: "Kirt Cathey" <email@hidden>
References: 
 >Change Budle Identifier, then lost defaults (From: "Kirt Cathey" <email@hidden>)

  • Prev by Date: Re: Who call observers for any event.
  • Next by Date: Re: How to control "focus" programmatically
  • Previous by thread: Change Budle Identifier, then lost defaults
  • Next by thread: Re: Change Budle Identifier, then lost defaults
  • Index(es):
    • Date
    • Thread