I submitted app to review on app store and am getting crash on libswiftCore.dylib. When I compile and run code through Xcode everything works fine

I submitted app to review on app store and am getting crash on libswiftCore.dylib. When I compile and run code through Xcode everything works fine. Only crashes when opened directly from app store submission. Full crash log in attached file.

How can I identify the problems caused crash and fix them?

It looks like it was being tested on an iPad. Have you tested it on an iPad, or an iPad in the Simulator?

Well, all I can see is that thread 10 crashed with an address size fault, so you might be trying to access something like an element of an array that isn't there, maybe you're trying to get array[10] in an array that has ten items, i.e. array[0...9]? Maybe you're force-unwrapping an optional?

You're honestly just going to have to debug it. You have the code, we don't.

Thank you for the post. It appears that thread 10 is crashing when reviewing your crash file. Would it be possible to symbolize the frames with the PhotoFrame id? It seems that this could be the cause of the issue in this case. However, I am not certain.

Can you reproduce the issue with Xcode to see the debug information?

11  libswiftCore.dylib            	       0x1948b75ec swift_getTypeByMangledNameInContextImpl(char const*, unsigned long, swift::TargetContextDescriptor const*, void const* const*) + 176
12  PhotoFrame                    	       0x1043a1808 0x104220000 + 1579016
13  PhotoFrame                    	       0x1043a0d2c 0x104220000 + 1576236
14  PhotoFrame                    	       0x1042f154c 0x104220000 + 857420
15  PhotoFrame                    	       0x1042f1c40 0x104220000 + 859200
16  PhotoFrame                    	       0x104376a28 0x104220000 + 1403432

Fully symbolicate the crash report. See Adding Identifiable Symbol Names to a Crash Report. https://developer.apple.com/documentation/xcode/adding-identifiable-symbol-names-to-a-crash-report

Albert Pascual
  Worldwide Developer Relations.

I submitted app to review on app store and am getting crash on libswiftCore.dylib. When I compile and run code through Xcode everything works fine
 
 
Q