Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8354905

apps can not be sent to the mac app store

XMLWordPrintable

    • generic
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      osx jdk25


      A DESCRIPTION OF THE PROBLEM :
      packaged with jpackage, signed with codesign, entitlements definitely includes "sandbox"

      Validation failed (409)
      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: [( "com.yyyyy.app.launcher.pkg/Payload/yyyyy.app/Contents/runtime/Contents/Home/lib/jspawnhelper" )] Refer to App Sandbox page at https://developer.apple.com/documentation/security/app_sandbox for more information on sandboxing your app. (ID: ..............)

      The mention of jspawnhelper makes me suspect that java apps are fundamentally unaccceptable
      to the mac app store. I hope to be shown to be wrong.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      package a mac app with a command such as

      jpackager -i xxxxx --mac-app-category games --mac-app-store --mac-entitlements xxxxx.entitlements --main-jar xxxxx.jar -t "app-image" --app-version $1 --copyright "DEV_NAME" --description "desktop launcher for xxxxx.net" --icon xxxxx.icns --name "xxxxx" --mac-package-name "XXXXX.net" --mac-package-identifier "com.xxxxx.launcher"

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      an acceptable app

      ACTUAL -
      see above
      the app can be installed locally and runs fine. mac store won't accept it.


            almatvee Alexander Matveev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: