Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

The extremelty painful publishing to Mac

Discussion in 'Editor & General Support' started by instruct9r, Nov 29, 2014.

  1. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    Heya guys.

    I am trying 100 times to sign my game for OSx and everytime i try to send it to iTunes i get this error in the Application Loader.

    ERROR ITMS-9000: "App sandbox not enabled. The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list: [( "BundleID/Payload/AppName.app/Contents/MacOS/AppName" )] Refer to App Sandbox page at https://developer.apple.com/devcenter/mac/app-sandbox/ for more information on sandboxing your app."

    This is what's written in my .entitlements file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>com.apple.security.app-sandbox</key>
    <true/>
    <key>com.apple.security.inherit</key>
    <true/>
    <key>com.apple.developer.ubiquity-container-identifiers</key>
    <string></string>
    </dict>
    </plist>

    Terminal is not giving errors, when i Codesign the app

    This is the line of code, that i use:
    codesign -f -s “3rd Party Mac Developer Application: CompanyName“ --entitlements “PathToApp/AppName.entitlements” "PathToApp/AppName.app"

    I don't get it. I've been using Unity since version 3.5. This process have been extremely painful since then (And probably since the beginning of the Mac support). We have to edit the build, write ton's of stuff in the Terminal... Couldn't you guys from Unity make it little bit easier, or at least post some tool to make that work easier...

    Can anyone give me some hint.... Despite the error when i open the activity from Application Loader it says Completed. I will send this to iTunes, but probably the App will be rejected..

    If anyone can give me some hint, it will be great....
     
  2. Aiursrage2k

    Aiursrage2k

    Joined:
    Nov 1, 2009
    Posts:
    4,835
  3. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    Thanks for the info, but i don't think it's fair (From my point of view), to pay over a thousand Euro for a software, which claims, that i can publish to the Map AppStore and then i have to pay more for additional assets, that somebody else did.

    If some person can make addition to Unity that signs the Apps automatically, what Unity cannot integrate something similar in the software??

    And like i said above, that is NOT a problem from yesterday... it's been the same from years..
     
    Nanako likes this.
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,071
    This could be said about quite a number of things, but I do think it odd they don't officially handle this aspect.
     
  5. JamesLeeNZ

    JamesLeeNZ

    Joined:
    Nov 15, 2011
    Posts:
    5,616
    I have not experienced such problems...

    Build xcode project, opened, changed provision, compiled, submitted... but thats iOS. I suspect youre talking about desktop?
     
  6. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
  7. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    JamesLeeNZ: This is for iMac (OSx). The iOS is a lot easier..

    Graham Dunnett: Thanks for link. I must say that i made a lot of research and found another post where the --deep flag had to be put at the begining of the line. I will try that now...

    Many thanks for the support :)
     
  8. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    ok I've tried few more things, but the same errors appears... So i've decided to stop waisting time and give 10$ for the Mac App Store Toolset, which is simply amazing btw...

    Thanks a lot for the info and hey, don't get me wrong.. Unity is still the best for me :D

    cheers
     
  9. sevensails

    sevensails

    Joined:
    Aug 22, 2013
    Posts:
    483
    I have the App Sandbox Error even using Mac App Store Toolset. The creator seems to be gone!

    Were you able to sign recently using it?
     
  10. instruct9r

    instruct9r

    Joined:
    Aug 1, 2012
    Posts:
    148
    Heya. As far as i remember yes it was pretty straight forward... The video tutorials were pretty old btw, so i had to change some other stuff, but don't remember what...
    I remember, that i had some issues, but the publisher responded on my questions pretty fast...