Attempting to verify a Java application prior to submission to Apple Store. Used JPackage (JDK 14.0.1) to successfully create a TMViewer.app. Used codesign to sign the app OK. Created Apple Connect entry, and assigned an app-specific password OK. Examining the 'app' Contents all looks OK, and if manually copied into /Applications and double-clicked the application launches normally.
Have been stuck for a week attempting to use altool to verify the app, prior to upload. Keep getting this error:
"Could not find the main bundle or the Info.plist is missing a CFBundleIdentifier in '/Users/jdc/Projects/TMViewer/packaging/TMViewer.app"
The Info.plist does exist, and does contain a CFBundleIdentifier as expected.
As a test, took a copy of /Applications/App Store.app and tried to verify that - generating the same error. The command executed:
xcrun altool --validate-app -f /Users/jdc/Projects/TMViewer/packaging/TMViewer.app -t osx -u j.crowley@computer.org -p xxxxxxxxxx
Any suggestions or reference to docs?
Thanks