Unity Community

Register or Sign In:

+ Reply to Thread
Results 1 to 15 of 15

  1. Location
    Germany
    Posts
    155

    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


  2. Location
    Zürich, Switzerland
    Posts
    25,088
    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


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

  4. Unity Developer
    Posts
    296
    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?


  5. Location
    Germany
    Posts
    155
    Hi Jonas,

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

    ....
    > We've completed the review of your app but cannot post this version to the App Store because your application is creating files in the incorrect directories. This is not in compliance with the App Store Review Guidelines <https://developer.apple.com/appstore/mac/resources/approval/guidelines.html>
    >
    > 2.30 Apps that do not comply with the Mac OS X File System documentation will be rejected
    >
    > The application is creating files or writing to ~/Library/Logs/Unity/Player.log. Please review the section "File-System Usage Requirements for the App Store" on this page <http://developer.apple.com/devcenter/mac/documents/submitting.html> for further guidance.
    >
    >
    ....
    Like written maybe I just got "lucky". Nevertheless I guess they will check this when I re-submit the game.

  6. Unity iOS Developer
    Posts
    719
    Hi,
    maybe you have selected "Debug" or "Connect Profiler" options in Build Settings panel?
    Mantas Puida
    Unity Technologies


  7. Location
    Germany
    Posts
    155
    Quote Originally Posted by mantasp View Post
    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.


  8. Posts
    210
    Quote Originally Posted by dreamora View Post
    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
    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?
    Time to make time for games and apps - UnityPro / iOS Pro


  9. Location
    Zürich, Switzerland
    Posts
    25,088
    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


  10. Posts
    210
    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
    Time to make time for games and apps - UnityPro / iOS Pro


  11. Location
    Zürich, Switzerland
    Posts
    25,088
    naw
    That would be hefty

    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

  12. Volunteer Moderator
    Posts
    17,426
    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

  13. Unity Developer
    Posts
    296
    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.


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


  15. Location
    El Salvador
    Posts
    289

    you mean here?

    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 ?

    Attached Images  
    --------------------------------------------------------------
    Unity3d + cinema4D + Photoshop + TeachText
    --------------------------------------------------------------