Unable to launch my Released App on iOS 15

On iOS 15 beta 2, I am unable to launch my released App. It crashes at launch. Do you have an idea why? Built with XCode 12.5.1 with deployment target: iOS 12

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x00000001d36a9108
VM Region Info: 0x1d36a9108 is in 0x1d36a8f68-0x1d36a9820;  bytes after start: 416  bytes before end: 1815
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      __DATA_CONST             1d36a5ce0-1d36a8f68 [   13K] r--/rw- SM=COW  ...AccessExpress
--->  __DATA_CONST             1d36a8f68-1d36a9820 [  2232] r--/rw- SM=COW  ...ServicesStore
      __DATA_CONST             1d36a9820-1d36a9e28 [  1544] r--/rw- SM=COW  ...CoreAnalytics

Termination Signal: Bus error: 10
Termination Reason: Namespace SIGNAL, Code 0xa
Terminating Process: exc handler [813]
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   _APP                          	0x00000001015ef114 0x100744000 + 15380756
1   _APP                          	0x00000001015ef0bc 0x100744000 + 15380668
2   _APP                          	0x00000001015eec2c 0x100744000 + 15379500
3   dyld                          	0x0000000102384d2c invocation function for block in dyld4::APIs::_dyld_register_func_for_add_image(void (*)+ 52524 (mach_header const*, long)) + 200
4   dyld                          	0x000000010237be78 dyld4::RuntimeState::withLoadersReadLock(void + 15992 () block_pointer) + 112
5   dyld                          	0x0000000102384404 dyld4::APIs::_dyld_register_func_for_add_image(void (*)+ 50180 (mach_header const*, long)) + 148
6   _APP                          	0x00000001015ef204 0x100744000 + 15380996
7   _APP                          	0x00000001015f3abc 0x100744000 + 15399612
8   dyld                          	0x000000010237e314 invocation function for block in dyld4::Loader::findAndRunAllInitializers+ 25364 (dyld4::RuntimeState&) const + 164
9   dyld                          	0x00000001023ba878 invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void + 272504 (unsigned int) block_pointer, void const*) const + 168
10  dyld                          	0x000000010237d818 invocation function for block in dyld3::MachOFile::forEachSection(void + 22552 (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 532
11  dyld                          	0x0000000102381fec dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void + 40940 (load_command const*, bool&) block_pointer) const + 168
12  dyld                          	0x000000010237ad44 dyld3::MachOFile::forEachSection(void + 11588 (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 192
13  dyld                          	0x000000010239a41c dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void + 140316 (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const + 148
14  dyld                          	0x0000000102391f64 dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void + 106340 (unsigned int) block_pointer, void const*) const + 432
15  dyld                          	0x0000000102389e1c dyld4::Loader::findAndRunAllInitializers+ 73244 (dyld4::RuntimeState&) const + 172
16  dyld                          	0x000000010237dd80 dyld4::PrebuiltLoader::runInitializers+ 23936 (dyld4::RuntimeState&) const + 44
17  dyld                          	0x000000010237f3fc dyld4::Loader::runInitializersBottomUp+ 29692 (dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 208
18  dyld                          	0x0000000102387dbc dyld4::Loader::runInitializersBottomUpPlusUpwardLinks+ 64956 (dyld4::RuntimeState&) const + 124
19  dyld                          	0x0000000102383824 dyld4::prepare+ 47140 (dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3044
20  dyld                          	0x00000001023976fc start + 488

Thread 1:
0   libsystem_pthread.dylib       	0x00000001f20e6d48 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	0x00000001f20e6d48 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	0x00000001f20e6d48 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	0x00000001f20e6d48 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x00000001017c34ca   x2: 0x0000000000000003   x3: 0x0000000000000000
    x4: 0x0000000000000000   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000b30
    x8: 0x00000001015f2698   x9: 0x00000001d36a8f68  x10: 0x00000001015f2698  x11: 0x0000000000000001
   x12: 0x00000001d36a8f68  x13: 0xcccccccccccccccd  x14: 0xfffffffffffffff6  x15: 0x00000001017c34f1
   x16: 0x00000001f20e3710  x17: 0x0000000000000018  x18: 0x0000000000000000  x19: 0x000000016f6b4720
   x20: 0x0000000000000018  x21: 0x0000000000000006  x22: 0x0000000000000005  x23: 0x0000000000000001
   x24: 0x0000000212c19d31  x25: 0x0000000000000034  x26: 0x0000000280264480  x27: 0x0000000000000004
   x28: 0x00000002830584a0   fp: 0x000000016f6b48d0   lr: 0x00000001015ef0bc
    sp: 0x000000016f6b46b0   pc: 0x00000001015ef114 cpsr: 0x20000000
   esr: 0x9200004f (Data Abort) byte write Permission fault

After further investigation I noticed this in device logs:

/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.EIeCBO/extracted/Payload/App.app : 0xe8008029 (The code signature version is no longer supported)

I found this link about code signature: [https://developer.apple.com/documentation/xcode/using-the-latest-code-signature-format]

What the doc says: “Look in the output for a string like CodeDirectory v=20500. For any value of v less than 20400, you’ll need to re-signed your app.

Identifier=co.App.app Format=app bundle with Mach-O thin (arm64) CodeDirectory v=20400 size=391823 flags=0x0(none) hashes=12236+5 location=embedded Signature size=4739 Signed Time=Jun 29, 2021 at 7:23:52 AM Info.plist entries=63 TeamIdentifier=VZ66U22NYM Sealed Resources version=2 rules=10 files=2357 Internal requirements count=1 size=176

Hello, your value here is 20400, did you re-sign your app ? and does this fix the problem ? Thanks

Unable to launch my Released App on iOS 15
 
 
Q