ZoomVideoSDK causes a crash when running unit test

Format Your New Topic as Follows:

Video SDK Type and Version
Type: zoom-video-sdk-ios
Version: v1.12.0

Description
When running a test Zoom SDK causes a crash in simulator.

Error?

Machine: MacbookPro M1
Xcode 15.4

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 551B538F-08B1-4E89-8787-C5A1FA06D5EE
CrashReporter Key:   279BD492-1BD8-37BD-2D20-20999DEB106D
Hardware Model:      MacBookPro18,2
Process:             SampleProject [84990]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/1FF86B5D-A122-413C-95B2-70EEA5A4003E/data/Containers/Bundle/Application/63E1125F-E666-4F06-8136-CCFE09119DA5/SampleProject.app/SampleProject
Identifier:          Foo.SampleProject
Version:             0.8.87 (14427)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [82156]
Coalition:           com.apple.CoreSimulator.SimDevice.1FF86B5D-A122-413C-95B2-70EEA5A4003E [51803]
Responsible Process: SimulatorTrampoline [1047]

Date/Time:           2024-07-24 20:51:57.6470 +0300
Launch Time:         2024-07-24 20:51:56.7710 +0300
OS Version:          macOS 14.5 (23F79)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: SampleProject [84990]

Triggered by Thread:  0

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x102e753b0 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x102d87124 pthread_kill + 256
2   libsystem_c.dylib             	       0x1801655c0 abort + 104
3   libc++abi.dylib               	       0x1802a7778 abort_message + 128
4   libc++abi.dylib               	       0x180298eb0 demangling_terminate_handler() + 272
5   libobjc.A.dylib               	       0x1800634a8 _objc_terminate() + 140
6   XCTestCore                    	       0x104091048 _XCTTerminateHandler() + 108
7   libc++abi.dylib               	       0x1802a6c50 std::__terminate(void (*)()) + 12
8   libc++abi.dylib               	       0x1802a6c00 std::terminate() + 52
9   ZoomVideoSDK                  	       0x108b86778 0x108614000 + 5711736
10  ZoomVideoSDK                  	       0x108b866e0 0x108614000 + 5711584
11  ZoomVideoSDK                  	       0x108b81c20 0x108614000 + 5692448
12  libsystem_c.dylib             	       0x18014663c __cxa_finalize_ranges + 424
13  libsystem_c.dylib             	       0x1801469d0 exit + 28
14  XCTestCore                    	       0x104053f4c _XCTestMain + 108
15  libXCTestBundleInject.dylib   	       0x102d2b28c __RunTests_block_invoke_2 + 16
16  CoreFoundation                	       0x18040ec10 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
17  CoreFoundation                	       0x18040e358 __CFRunLoopDoBlocks + 352
18  CoreFoundation                	       0x180408bfc __CFRunLoopRun + 788
19  CoreFoundation                	       0x1804084d4 CFRunLoopRunSpecific + 572
20  GraphicsServices              	       0x18ef2aae4 GSEventRunModal + 160
21  UIKitCore                     	       0x1853d0a28 -[UIApplication _run] + 868
22  UIKitCore                     	       0x1853d46b0 UIApplicationMain + 124
23  UIKitCore                     	       0x1848736a8 0x1847df000 + 607912
24  SampleProject                 	       0x102c46720 static UIApplicationDelegate.main() + 120
25  SampleProject                 	       0x102c46698 static AppDelegate.$main() + 44
26  SampleProject                 	       0x102c467f4 main + 28 (AppDelegate.swift:5)
27  dyld_sim                      	       0x102de1544 start_sim + 20
28  dyld                          	       0x102f360e0 start + 2360

How To Reproduce
Steps to reproduce the behavior including:
1. Create an empty iOS project with tests
2. Add zoom-video-sdk-ios as a dependency to the app
2. Run test in Xcode or with the command line

1 Like