Only app store build crash, same build is working fine in Testflight

Recently released an update to our app in which we did some refactor in app delegate with composite pattern as mentioned in this blog https://betterprogramming.pub/avoiding-massive-appdelegates-df59dd9b8a2d

It never created any issue till we submit the build to appstore.. Once user started upgrading the user from older version to new version through app store we are getting crashes in didFinishlaunchoptions immediately. Same upgrade scenario is working fine if we install the same build from testflight.. No issue in fresh install also.

In crashlytics it says the crash is in application didfinishlaunching options.

in device log, i see this exception.
)EXC_BAD_ACCESSSIGSEGVKERN_INVALID_ADDRESS at 0x3c2c6e713e343054 -> 0x000000713e343054 (possible pointer authentication failure)" any one has any thoughts on this why only app store upgraded build is crashing for 3-4 times and works fine.. then after force close and reopening the app also leads to some n times of crash before it starts working.

TestFlight does a really good job of replicating what the App Store does, so it’s quite rare to see problems like this. Still, it can happen. For example, it’s possible that this crash only happens when the user’s device is in an specific state and none of your TestFlight users were in that state.

in device log, i see this exception.

If you have an Apple crash report for this, please post it here. See Posting a Crash Report. To be clear, I can’t do anything useful with a third-party crash report.

Once user started upgrading the user from older version to new version through app store we are getting crashes

Is this users who previously tested with your TestFlight build? Or just random users reporting this problem in the field?

Are you in touch with any of these users? Could you, perhaps, send them a new TestFlight build to see if it also crashes in this way?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Only app store build crash, same build is working fine in Testflight
 
 
Q