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.