I've been developing and publishing a Safari Web extension for a year or so. I build an archive of the app and upload it to App Store Connect and it has been working fine for both the MacOS and iOS app.
My old Mac was too old to run xcode 14 (which is now required to publish) so I had to get a new Mac. I'm trying to upload for the first time from the new Mac (and xcode 14). The xcode files are all in git/github and came over OK.
The upload of the iOS package worked but the MacOS one consistently fails with this error:
Asset validation failed
This bundle is invalid. The value for key CFBundleVersion [1] in the Info.plist file must contain a higher version than that of the previously uploaded version [34]. Please find more information about CFBundleVersion at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion
I don't know how to fix this. It doesn't say which Info.plist file but I have searched all of the files and there is no occurrence of CFBundleVersion in any of them on either the new Mac or the old one.
Googling this error I see reports of it occurring when the "Version" field in Xcode goes from something like 1.11 > 1.2 (e.g. CFBundleVersion must be higher than previous version) This is not the case for me. I am going from 1.6.6 to 1.6.7
Any ideas on things to try to be able to upload my new MacOS version?