I have build an app using react-native and I have been uploading new builds with new version numbers to the app store and the status of the build is 'Testing'(for internal users), but when i update my app through Testflight i dont see my latest changes the version number and build number are updated but it loads very old code. This old code is 2-3 months old. But when i run the same app on simulator or on my device(through xcode) it shows up the latest code. Does anyone have any suggestions what i might be doing wrong here ?
2 Answers
I had the exact same problem but even creating new certificates didn't help. I created a new main.jsbundle and that did the trick! Really difficult issue to get your head around.
Here is the exact command I used in the root of the project directory:
react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios' 1 Comment
Ok so the issue was because of the certificate. Initially when i have uploaded the build i have generated the certificates from one laptop and then later for newer version uploads i have been trying to generate new certificates and use them from a different laptop. Once i tried to upload the new version from the initial laptop i see the latest changes on the testflight. Hope this helps someone else !

processing. you have to wait a while for each bump in the build number.