2

I am developing an App Store app that will run on iPhone, iPad, and Mac (universal purchase). To test synchronization between devices, I need to sign in with the same account for in-app purchases.

On iPhone and iPad, I can log in with my Sandbox Account from Developer Tools → Sandbox Account without logging out from my personal Apple ID.

On my MacBook Pro, I cannot find any option like that. I don’t want to log out from my main Apple ID on macOS just to test sandbox purchases.

Is there a way to sign in to a sandbox account for in-app purchases on macOS without removing my main Apple ID? Note: macOS version Sequoia 15.4.1

  • I searched on YouTube but all results are about how to sign in to a sandbox account on iPhone.
  • I checked System Settings and Privacy & Security → Developer Tools, but I couldn’t find any option to add a sandbox account.
  • I tried running the app from Xcode and purchasing an IAP, but it still uses my main Apple ID.

Expected: A way to log in with a sandbox account on macOS (like on iOS) without removing my personal Apple ID.

1 Answer 1

2

Strangely, it's:

  • Attempt in-app purchase in the Xcode build of your app (make sure you don't have a .storekit file set as the StoreKit configuration in your scheme - i.e., that you are truly using Sandbox mode)

  • Open the App Store app

  • Menu bar -> App Store -> Settings

  • Look at the very bottom; you should see an option to log into a sandbox account

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.