Open Wei18 opened 1 year ago
hey @Wei18, --
the GetAppStoreVersionNumberAction
will return the current version of the app - there doesn't seem to be any additional metadata in the response Apple sends to return the 'last' version.
Before you archive, you could use that action, get the version number, bump it as your requirements need, then archive?
Hey @jdouglas-nz
The GetAppStoreVersionNumberAction
can not return version while the app state pending develop release
.
It's like Spaceship::ConnectAPI::App.find("appId").get_live_app_store_version
I'd like to call ruby api (from Fastlane) but swift version like
Spaceship::ConnectAPI::App.find("appId").app.get_edit_app_store_version
Thanks
@Wei18 seems like it's a new feature for this plugin then to me 🤔
The existing action calls an unauthed API Apple exposes, but this request - if it goes through AppStore Connect APIs - probably needs Auth.
Please correct me if I'm wrong on the above!
I'll do some investigation and see what I can find out.
@jdouglas-nz,
Thanks! It's new feature useful, when we wanna deploy next version during Apple is reviewing submission (this ERROR happened).
example: 5.32.1 is pending developer release or kind of state in submission 5.32.0 is ready for sale aka API GetAppStoreVersionNumberAction
[12:51:07]: ERROR: Asset validation failed (90062) This bundle is invalid. The value for key CFBundleShortVersionString [5.32.1] in the Info.plist file must contain a higher version than that of the previously approved version [5.32.1]. Please find more information about CFBundleShortVersionString at ...
It would be nice to fetch version before archive app.