- Home /
Mac App Store Rejection (Contents/Data/mainData)
Hi,
Has anyone been rejected by Apple for accessing Contents/Data/mainData before? We're updating our app and as far as I know we didn't make any changes but now we're being rejected (full reason supplied by Apple below).
I can't figure out why this is happening. Does the mainData file need its permissions set to Read-Only?
Thanks, Jared
====================================================
2.30: Apps that do not comply with the Mac OS X File System documentation will be rejected
The application accesses the following location(s):
'MyApp.app/Contents/Data/mainData'
The majority of developers encountering this issue are opening files in Read/Write mode instead of Read-Only mode, in which case it should be changed to Read-Only.
Other common reasons for this issue include:
creating or writing files in the above location(s), which are not valid locations for files to be written as stated in documentation
writing to the above location(s) without using a valid app-id as a container for the written files
Please review the "File-System Usage Requirements for the App Store" of Submitting to the Mac App Store for the locations apps are allowed to write and for further guidance.
If you are unable to reproduce this issue, ensure you are testing the exact version of the app that you submitted for review, and that you're doing so in a minimally privileged environment. See Technical Q&A QA1778: How to reproduce bugs reported against Mac App Store submissions.
For information on how to symbolicate and read a crash log, please see Technical Note TN2123 - CrashReporter.
Your answer
Follow this Question
Related Questions
Mac App Store rejected OSX standalone apps for trying to access /dev/shm 0 Answers
iOS Advertising Identifier Rejection 0 Answers
App made with unity got rejected because of crash? 2 Answers
Best way to link from free/lite in game to full version....Application.OpernURL problem... 0 Answers
App rejected because of issueChallengeToPlayers:message: method Social API 1 Answer