Zoom iOS SDK initialization throws exception

Description
I integrated the latest Zoom iOS SDK into our iOS project (Swift). When I try to initialize the SDK, I get an exception. On printing the exception message, this is what I get:

Message in console -> [NSBundle initWithURL:]: nil URL argument

This is my code

let context = MobileRTCSDKInitContext()
        context.domain = "zoom.us"
        context.enableLog = true
        context.locale = .default
        context.appGroupId = ""
        let initSuccess = MobileRTC.shared().initialize(context)

Which version?
SDK Version v4.6.15805.0403

To Reproduce(If applicable)
See code above

Screenshots
N/A

Smartphone (please complete the following information):

  • Device: iPhone 10
  • OS: iOS 13.0
  • Version of SDK -> v4.6.15805.0403

Additional context
N/A

Hi ar3396,

Thanks for the post. Did you import the SDK in your project by following the instructions here:https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/getting-started/integration? I was able to successfully initialized the SDK and start a meeting with the SDK you are using.

Below is the code that I am using.

 let context = MobileRTCSDKInitContext();
        context.domain = "https://zoom.us";
        context.enableLog = true;
        context.locale = .default;
        context.appGroupId = "";
        MobileRTC.shared().initialize(context);
        
        let authService = MobileRTC.shared().getAuthService();
        authService?.delegate = self;
        authService?.clientKey = "SDK key";
        authService?.clientSecret = "SDK secret";
        authService?.sdkAuth();

If you are able to reproduce this with our demo app, please let me know so we could further investigate.

Thanks!

Ah it’s my bad. I think this was because I didn’t perform the Copy Bundle Resources step. Thank you for responding. I will close this.

Hi ar3396,

Glad to hear that the problem has resolved. Happy Zooming! :slight_smile:

1 Like