MobileRTC.shared().initialize(context) crashes the application (ios sdk)

When I use the method initialize, my application crashes.

Which version?
Version v4.6.15084.0206

To Reproduce(If applicable)
Steps to reproduce the behavior:
The code below lead me to this error:

let context: MobileRTCSDKInitContext = MobileRTCSDKInitContext()
context.domain = rtc_domain //rtc_domain is ""
context.enableLog = true
context.locale = MobileRTC_ZoomLocale.default

I am developing a Ionic Capacitor plugin for zoom.

The error:
2020-03-27 11:47:46.129785-0300 App[4987:1768846] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: '* -[NSBundle initWithURL:]: nil URL argument’**

***** First throw call stack:**

(0x187662a48 0x187389fa4 0x18795a934 0x18795a828 0x100eaa1a4 0x102676bd8 0x1026784c8 0x100eaa0cc 0x101187288 0x1015dcb88 0x1014fc2ac 0x101173080 0x101372d04 0x101371ff0 0x10136f954 0x101370ad0 0x100eb6614 0x100fdade4 0x100b2dedc 0x100b2daac 0x100b2ec54 0x1026757fc 0x102676bd8 0x102684c34 0x1875e05e4 0x1875db5d8 0x1875daadc 0x191560328 0x18b6d5ae0 0x100828b08 0x187464360)

libc++abi.dylib: terminating with uncaught exception of type NSException

Smartphone (please complete the following information):

  • Device: iphone 7
  • OS: iOs 13.3
  • Version

Hi igor,

Thanks for using Zoom SDK. The code snippet looks good. I think the issue might caused by Ionic Capacitor since our SDK does not support it. If you are able to configure how the Ionic Capacitor builds the app, please follow the instruction here to configure before building the app.

Hope this helps. Thanks!

Yeah, I forgot to include the bundle on my app. Thanks.


Hi igor,

Glad to hear that it is working now. Happy Zooming!