Post

Replies

Boosts

Views

Activity

App build is crashing on startup from testflight on ipad
Hello, Recently i updated my react-native app to support xcode 14. I added in my podfile the below lines post_install do |installer| # react_native_post_install(installer) # __apply_Xcode_12_5_M1_post_install_workaround(installer) for M1 Processors # Add these lines for Xcode 14 builds installer.generated_projects.each do |project| project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0' end end end end I tested my app in multiple simulators (iphone 14 pro / iphone 12 / ipad) everywhere worked fine. I gave a testflight and i tested my app on iphone 9 and an 2016 ipad real devices. I didn't have any problem so i decided to give a new build. The problem now is that the reviewer told me that the app is crashing on start of the app in ipad with 16.4.1 ios. I tried to find out how to download this ios version on my simulators to reproduce the error but i couldn't (the latest ios version is 16.4), so i found a family member that had an ipad 2022 with 16.4.1 and i tried my app in there. When i am downloading my app from the testflight app it crash indeed at the first time (and not everytime, sometimes i have to delete and reinstall multiple times to catch the error) and when i open it at the second time it works well. Only the first time it crash. The crash log from console.app is: default 13:20:29.460973+0300 my_app_name_here *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' *** First throw call stack: (0x1ce5aad94 0x1c76dc3d0 0x1ce750f94 0x1ce74d578 0x1ce5b5188 0x1d07c105c 0x101039418 0x101039820 0x101039e54 0x1d5a64320 0x1d5a65eac 0x1d5a746a4 0x1d5a742f4 0x1ce639d18 0x1ce61b650 0x1ce6204dc 0x208f9b35c 0x1d09ac37c 0x1d09abfe0 0x100e27f10 0x1edaa4dec) I tried to build my app from my xcode in debug mode to ipad but it doesn't crash. I don't know what else to do... How to reproduce the error or catch it ? I post the crash log from my device logs through devices & emulators section too. crash log Please provide me some help ! Edit: There is no ipad version for my app it works with the zoom-in/zoom-out functionality.
0
0
1k
May ’23