Improve iOS Testflight rollout
If you havenβt already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Expected Result:
Testflight rollout should be improved.
Actual Result:
Some users have the old version
Action Performed:
N/A
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:
Where is this issue occurring?
Web iOS βοΈ Android Desktop App Mobile Web
Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
From @AndrewGable https://expensify.slack.com/archives/C01GTK53T8Q/p1620321505463100?thread_ts=1620254469.441800&cid=C01GTK53T8Q
Issue: We need to improve iOS Testflight rollout - feel free to assign me
Sounds like there is some working error handling here that can help π https://github.com/fastlane/fastlane/issues/18408#issuecomment-843423247
We tested this and the code did not work. I do not have a ton of time to dig into this at the moment so we will revert it and I will try something else soon.
I've been following the external issues and I haven't seen any updates.
I'll take a look again at Fastlane again, but haven't seen any updates on this one from my notifications.
Haven't seen any updates from Fastlane, we might want to try to see if there are any alternative solutions to this one.
Still no updates from Fastlane which makes me think we should assume Apple depreciated the API and we need to look at alternative solutions.
I think there are three scenarios at play here:
- We have a new version that needs to be reviewed by Apple
- We have an existing version that does not need to be reviewed by Apple and do not have a build in review
- We have an existing version that does not need to be reviewed by Apple and do have a build in review
The reject_build_waiting_for_review is supposed to basically take the version we submitted for review, delete it, and replace it with the latest version for review. However, it looks like Apple removed the API command to delete the beta version that was in review.
If we remove the reject_build_waiting_for_review, then I believe in case three we might see an error thrown by Fastlane. My PR above is to confirm that we do in fact get an error thrown in this case.
My suggestion if we do see an error thrown is to catch the error, then just do not submit the build for external testers. Once we have another build and we do not have a build in review, we will send that version to testers. This is not a perfect solution as beta testers will skip some versions, but they should get more versions then they do today.
π Deployed to production by @roryabraham in version: 1.0.90-2 π
| platform | result |
|---|---|
| π€ android π€ | success β |
| π₯ desktop π₯ | success β |
| π iOS π | failure β |
| πΈ web πΈ | success β |
π Deployed to staging by @AndrewGable in version: 1.0.90-3 π
| platform | result |
|---|---|
| π€ android π€ | success β |
| π₯ desktop π₯ | success β |
| π iOS π | success β |
| πΈ web πΈ | success β |
π Deployed to production by @roryabraham in version: 1.0.91-0 π
| platform | result |
|---|---|
| π€ android π€ | success β |
| π₯ desktop π₯ | success β |
| π iOS π | failure β |
| πΈ web πΈ | success β |