Yes, sandbox is required for the App Store. You need to read some documentation: https://developer.apple.com/documentation/security/app_sandbox/accessing_files_from_the_macos_app_sandbox
Topic:
Code Signing
SubTopic:
Entitlements
Tags: