same problem.
xcodebuild clean archive -archivePath "../dist/$OUTARCHIVE" -scheme $TARGET -quiet -workspace ____ -destination generic/platform=iOS
xcodebuild -exportArchive -archivePath "../dist/$OUTARCHIVE" -exportPath "../dist/$OUTIPA" -exportOptionsPlist ./export.plist
xcrun altool --type ios --upload-app --file "../dist/$OUTIPA" --username ____ --password ______
Tried to add
manageAppVersionAndBuildNumber
to export.plist. No luck.
CFBundleVersion is present in original info.plist as well.
Generated IPA payload contains binary info.plist. CFBundleVersion is also present
Export / Upload to appstore works correctly within XCode itself.