:package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
GNU General Public License v3.0
1.07k
stars
133
forks
source link
Could not find the main bundle or the Info.plist is missing a CFBundleIdentifier in ‘MyApp_1.0.0.pkg’. Unable to validate your application. (-21017) #221
Build succeeds but I cannot upload to AppStore.
I am validating my package by the following command:
xcrun altool --validate-app -f MyApp_1.0.0.pkg --type osx --apiKey "<my-key>" --apiIssuer "<my-issuer>"
*** Error: Validation failed for 'MyApp_1.0.0.pkg'.
*** Error: Could not find the main bundle or the Info.plist is missing a CFBundleIdentifier in ‘MyApp_1.0.0.pkg’. Unable to validate your application. (-21017)
I mount the dmg file, then open "MyApp.app" -> Show Package Contents, Contents/Info.plist.
In Info.plist there is a CFBundleIdentifier entry.
If I expand the pkg file using pkgutil --expand MyApp_1.0.0.pkg expanded, I see a PackageInfo file, that does contain a bundle id, but no CFBundleIdentifier...
I'm submitting a…
Short description of the issue/suggestion:
Build succeeds but I cannot upload to AppStore. I am validating my package by the following command:
I mount the dmg file, then open "MyApp.app" -> Show Package Contents, Contents/Info.plist. In
Info.plist
there is aCFBundleIdentifier
entry.If I expand the pkg file using
pkgutil --expand MyApp_1.0.0.pkg expanded
, I see aPackageInfo
file, that does contain a bundle id, but noCFBundleIdentifier
...