.app is alright but .pkg file can't be uploaded.

macOS 10.15.5
Pycharm 2019.3.4
PyQt 5.14.0

Before packaging into .app, I installed certificates and bundled Add ID...everything was normal and .app run correctly.

Then I tried to generate a .pkg file:

productbuild --product path/to/info.plist --component path/of/My.app /Applications path/to/save/My.pkg

things went weird. Transporter says it "Failed to get App Bundle ID", while Application Loader 3.7.2 says "The Info.plist indicates a Mac app, but submitting an ipa."

Whai should I try to fix this?

Since PyQt5 is getting popular for Mac Developers, I guess at least my issues will help others.

Thank you everybody!!!!!

Whai should I try to fix this?

Contact PyQt5?
.app is alright but .pkg file can't be uploaded.
 
 
Q