mac app store: rejected because of writing to ~/Library/Logs/Unity/Player.log

Hi,

a game of mine got rejected because of writing to the logfile in ~/Library/Logs/Unity/Player.log
Is there anything I can do about? I’m still using Unity 2.6 for this game.

I wonder because I never heard of this beeing an issue with mac app store games made with Unity. Nevertheless I need a solution here. Thanks in advance!

Axel

look up for the thread on the matter, there is a link to a new 2.6.1 build thats required if you want to target the mac app store. all official releases will not and never get approved

Yep, I know - I used this binary (and another game of mine got approved!) - the logfile is still written.

The log file was never mentioned by Apple before - and the current review Guidelines on Apple’s web site don’t mention any rules about that as far as I can tell. Can you quote what they wrote in their rejection email? Is it the file location they are concerned about or the fact that we are keeping a log file at all?

Hi Jonas,

you are right, this came out of a surprise to me as well. Here is the mail:

Like written maybe I just got “lucky”. Nevertheless I guess they will check this when I re-submit the game.

Hi,
maybe you have selected “Debug” or “Connect Profiler” options in Build Settings panel?

Mmhh, no…in fact my other game Age of Tribes is writing to this logfile as well and got approved. Maybe I simply try to re-submit.

Do you mean that as far as you know Unity 3.1 will not receive an update to enable it to output App Store compatible apps?

From what mentioned, no there will be no update to 3.1 for AppStore, you need to use the 3.2 beta available or wait for the 3.2 release

oh right, 3.2 ok. I thought no official release from 3.1 onwards was going to be valid for AppStore. Ok thanks for your reply

naw :slight_smile:
That would be hefty :slight_smile:

But none the less thanks to the original author … interesting and important to know … as annoying that it is that even the mac app store will bring the hit and miss game upon us :frowning:

Yeah, it seems like some of the app reviewers at Apple are being a little too heavy-handed. I quite understand about not wanting apps to spew files all over the hard drive, but what is ~/Library/Logs for if not logs? Same deal with ~/Library/Preferences. I should think it’s expected and obvious that prefs go in Preferences and logs go in Logs, regardless of whether the guidelines explicitly mention them.

–Eric

While I agree with Eric, we all know that Apple can be very unpredictable and arbitrary in their handling of App Store applications. Any ways, in this case it is rather easy for us to fix, so I updated the custom App Store build of 2.6 to not write any logs. If you re-download it from

http://files.unity3d.com/jonas/UnityPlayer.zip

, and patch your build, you should be able to re-submit to Apple and they should not have any issues. For 3.x, we will add a player setting to allow content developers to disable the logging.

Great job, thanks Jonas! In case Apple will reject my current submission again this is what I need.

you mean here on 3.x unity3d version ?
i already have 3.3.x and rejected by apple for
~/Library/Logs/Unity

you mean you will add on unity 3x version here jonas echterhoff ?

625944--22309--$here_n.jpg