System Preferences panel and Mac App Store

Discussion in 'Mac Programming' started by Avicenna, Apr 27, 2011.

  1. macrumors member

    Joined:
    Jul 16, 2009
    #1
    Hi,
    I am about to submit an application to Mac App Store. My client wants the settings to reside in "System Preferences". Is this allowed in Mac App Store?
    If it is allowed, then the system preferences settings is a bundle. How can I make sure that when the application is first run, this bundle will be run? Also, how do I include this in the source code i send to apple?
    Thanks.
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
  3. thread starter macrumors member

    Joined:
    Jul 16, 2009
    #3
    Thanks for the reply robbieduncan. So I guess it's not allowed...
     
  4. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    Well section 2.15 prevents you installing to any shared location. So that prevent you installing the .prefs bundle.
     
  5. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #5
    You're actually best off developing AppStore apps with a sandbox mentality.

    1. You can read the things in your .app bundle
    2. You can store per-user application data in user defaults.
    3. You can read from files the user explicitly gives you access to via open panels
    4. You can write to files the user explicitly gives you access to via save panels
    5. You have access to nothing else
     

Share This Page