PDA

View Full Version : System Preferences panel and Mac App Store




Avicenna
Apr 27, 2011, 01:25 PM
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.



robbieduncan
Apr 27, 2011, 01:27 PM
Have you read the approval guidelines (https://developer.apple.com/appstore/mac/resources/approval/guidelines.html)? Specifically 2.15

Avicenna
Apr 27, 2011, 10:39 PM
Thanks for the reply robbieduncan. So I guess it's not allowed...

robbieduncan
Apr 28, 2011, 04:27 AM
Thanks for the reply robbieduncan. So I guess it's not allowed...

Well section 2.15 prevents you installing to any shared location. So that prevent you installing the .prefs bundle.

jiminaus
Apr 28, 2011, 04:38 AM
You're actually best off developing AppStore apps with a sandbox mentality.


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