rmdir ../../../Engine/Config/Redist on game startup
My game was rejected from the Mac App Store for trying to get read/write access to directories that aren't permitted. I have investigated it thoroughly and found that when I start my game it tries to remove these folders "../../../Engine/Config/Redist" 50 times, and then it tries to remove "../../../GameName/Intermediate/Shaders/tmp" and "../../../GameName/Intermediate/Shaders/WorkingDirectory".
My game started with the Third Person template, so then I created a Third Person Template project with no changes and built a Mac app from it. I ran the same tests on it and it also tried to delete "../../../Engine/Config/Redist" but only 3 times.
What is causing this? I need to stop my projects from attempting to delete directories outside of the app, or Apple will not accept it.
I used Xcode, Developer Tools, Instruments, and then chose File Activity and my app. In the Directory I/O tab, it showed the access to the folders happening. I will attach a screenshot of it.
One more thing, I just tested it with the FPS Template, and it does it too. I thought that it didn't do it.
Thank you so much for giving so much information and a probable solution to this issue. I have submitted this information in a Jira report to our Developers. UE-25742 is what you'll reference if you'd like to check on this bug.
answered Jan 20 '16 at 03:51 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here