Closed acecilia closed 3 months ago
Having the same issue with - AppStoreVersionPhasedReleaseWithoutIncludesResponse, latest version
You might want to look at following merge request - https://github.com/AvdLee/appstoreconnect-swift-sdk/pull/271
This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.
Still an issue
Hello. Can anyone share the code to fetch the last version submitted to the app store? Thanks
Hi @acecilia, sorry for the delay on this, I will make an action on my side to check this and get back to you tomorrow evening š
Hi! @acecilia, we're in the process of updating to the latest schema as part of https://github.com/AvdLee/appstoreconnect-swift-sdk/pull/276. This PR includes fixes to the decoding of this endpoint. Could you confirm if the work on that branch fixes your problem?
This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.
š
Hi. I experienced that the following code:
Fails decoding the response and throws the following error:
I believe is happening because the version-id I am requesting corresponds to a version
1.0
, meaning is the first time the app is being distributed, so doing phase release is impossible. Looks like appstoreconnect API communicates this by returning"data" : null
, which is unexpected to the SDK that is trying to decode a non-nulldata
property.I am using version
2.3.0
of the SDK, but I believe the issue should also be present in latest version3.X
, as the struct used for decoding which is here has not been changed in the past 2 years.