This was originally:
[macos]: Support TestFlight Provisioning Profile for the jpackaged app
ADDITIONAL SYSTEM INFORMATION :
JDK 17 / Open JDK 17
A DESCRIPTION OF THE PROBLEM :
When creating an app-image type we need to be able to supply the provisioning profile for the app package.
Otherwise, the app cannot be tested in test flight.
The file cannot be added after the package has been created.
codesign --verify --verbose=4 'Test.app'
Test.app: a sealed resource is missing or invalid
file added: /Users/ryan/flat/Test.app/Contents/embedded.provisionprofile
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Prepare an app-image using jpackage with mac options specified (I have supplied mine for reference)
2. Prepage the pkg with mac options specified (I have supplied mine for reference)
3. Using Transporter, add the newly signed pkg and select verify.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The verify process completes without issue and the package can be transported without issue.
ACTUAL -
You should receive the warning:
WARNING ITMS-90889: ""Cannot be used with TestFlight because the bundle at “Test.app” is missing a provisioning profile. Main bundles are expected to have provisioning profiles in order to be eligible for TestFlight.""
---------- BEGIN SOURCE ----------
/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/jpackage \
-i input \
-n Test \
--app-version 1.0.8 \
--main-class com.formdev.flatlaf.demo.FlatLafDemo \
--main-jar flatlaf-demo-1.6.jar \
--icon flat.icns \
--mac-package-name Test \
--mac-package-identifier "com.formdev.flatlaf.demo.FlatLafDemo" \
--java-options -Xmx2048m \
--mac-sign \
--mac-app-store \
--mac-signing-key-user-name "OMITTED" \
--type app-image --verbose --temp pkgdets
codesign --verify --verbose=4 'Test.app'
/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/jpackage \
-n Test \
--app-version "1.0.8" \
--description "Test Pkg" \
--vendor "Ryan" \
--copyright "Ryan" \
--app-image Test.app \
--mac-app-store \
--mac-sign \
--mac-signing-key-user-name "OMITTED" \
--type pkg
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I have not been able to find one to date.
[macos]: Support TestFlight Provisioning Profile for the jpackaged app
ADDITIONAL SYSTEM INFORMATION :
JDK 17 / Open JDK 17
A DESCRIPTION OF THE PROBLEM :
When creating an app-image type we need to be able to supply the provisioning profile for the app package.
Otherwise, the app cannot be tested in test flight.
The file cannot be added after the package has been created.
codesign --verify --verbose=4 'Test.app'
Test.app: a sealed resource is missing or invalid
file added: /Users/ryan/flat/Test.app/Contents/embedded.provisionprofile
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Prepare an app-image using jpackage with mac options specified (I have supplied mine for reference)
2. Prepage the pkg with mac options specified (I have supplied mine for reference)
3. Using Transporter, add the newly signed pkg and select verify.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The verify process completes without issue and the package can be transported without issue.
ACTUAL -
You should receive the warning:
WARNING ITMS-90889: ""Cannot be used with TestFlight because the bundle at “Test.app” is missing a provisioning profile. Main bundles are expected to have provisioning profiles in order to be eligible for TestFlight.""
---------- BEGIN SOURCE ----------
/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/jpackage \
-i input \
-n Test \
--app-version 1.0.8 \
--main-class com.formdev.flatlaf.demo.FlatLafDemo \
--main-jar flatlaf-demo-1.6.jar \
--icon flat.icns \
--mac-package-name Test \
--mac-package-identifier "com.formdev.flatlaf.demo.FlatLafDemo" \
--java-options -Xmx2048m \
--mac-sign \
--mac-app-store \
--mac-signing-key-user-name "OMITTED" \
--type app-image --verbose --temp pkgdets
codesign --verify --verbose=4 'Test.app'
/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/jpackage \
-n Test \
--app-version "1.0.8" \
--description "Test Pkg" \
--vendor "Ryan" \
--copyright "Ryan" \
--app-image Test.app \
--mac-app-store \
--mac-sign \
--mac-signing-key-user-name "OMITTED" \
--type pkg
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I have not been able to find one to date.
- csr for
-
JDK-8274717 Support for additional content in an app-image.
-
- Closed
-