How can I test macOS App with a Guest Account?

Hi Everyone,

After my submission to the Mac App store was rejected upon review, I was advised to test the application in a minimally privileged environment (because I could not otherwise reproduce the reported error). According to the documentation archives, one way of achieving this is by testing with a Guest Account.

Unfortunately I am only able to access safari through the Guest Account, so I do not see how I am able to test a MacOS app in this manner. After some searching on the web, I could not find a solution to my query. I wonder if I am asking the wrong questions?

As you might be able to tell from this post, I am very new to macOS App development, so please bear with me here.

Any help is greatly appreciated - thanks in advance!

D.
Accepted Answer
Consider this:
  1. Navigate to System Preferences > Users & Groups.

  2. Click the Unlock button and authenticate.

  3. Click on Guest User.

  4. Note the text that says If FileVault is turned on guest users can only access Safari.

Turning off FileVault will allow your guest account to run other apps. Clearly that’s not a great idea for your main Mac. I usually do this sort of testing in a VM, where I never turn on FileVault in the first place.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Thanks eskimo, I really appreciate the help!

Can you recommend a good VM for this purpose? Preferably a free option.

D.

Can you recommend a good VM for this purpose?

Speaking personally, I use VMware Fusion and I’m happy with it. I haven’t done a full survey of the market though; I originally chose it because of a personal connection with the development team and I’ve not had any cause to change.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
How can I test macOS App with a Guest Account?
 
 
Q