Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6827103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:13:37+00:00 2026-05-26T22:13:37+00:00

The Mac App Store guidelines say you can’t use private APIs. I’m toying with

  • 0

The Mac App Store guidelines say you can’t use private APIs.

I’m toying with an app that modifies a Finder setting using a terminal command setting showAllFiles to true:

defaults write com.apple.Finder AppleShowAllFiles TRUE

Is there any way to be able to submit something like this into the Mac App Store? It seems like a private API to me. My question is: is there a public equivalent?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T22:13:37+00:00Added an answer on May 26, 2026 at 10:13 pm

    I think it would depend on how you execute this command. What C/ObjC APIs are you using to execute this? There are certainly public APIs which could be used to execute this command.

    However, an important thing to keep in mind is that Apple will require apps submitted to the Mac App Store to adopt their “Sandboxing” scheme starting in March 2012. Docs here:

    http://developer.apple.com/library/mac/#documentation/Security/Conceptual/AppSandboxDesignGuide/AboutAppSandbox/AboutAppSandbox.html

    I suspect that executing this command (even through public APIs) in a Sandboxed app will require that you declare the need for a special entitlement. More details on Entitlements here:

    http://developer.apple.com/library/mac/#documentation/Miscellaneous/Reference/EntitlementKeyReference/Introduction/AboutEntitlements.html%23//apple_ref/doc/uid/TP40011195

    Specifically, I think you might need this “temporary entitlement”:

    com.apple.security.temporary-exception.files.home-relative-path.read-write
    

    as I believe writing user defaults of an app like Finder would entail writing to a file on disk under the user’s home dir:

    ~/Library/Preferences/com.apple.finder.plist
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Apple's guidelines for their new Mac App Store say that you cannot use deprecated
I saw this in the Mac App Store guidelines: 2.16: Apps that download or
I'm trying to install my app from the Mac App Store now that it's
By now all Mac App Store developers know that all apps must have the
I've just submitted an app to the Mac App Store that uses some external
I'd like to write an app for the Mac App Store that involves installing
I have a Mac App that's been in the app store for a year
I am writing an mac application for the Mac App Store that uses in
I'm working on Mac App Store sandboxing but have an app that was rejected
I'm building an application that I hope to submit to the Mac App Store.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.