scheduleMeeting error when I use Swift

I try to create the schedule meeting using Swift:

let scheduleMeetingItem = ZoomSDK.shared()?.getPremeetingService()?.createScheduleMeetingItem()
scheduleMeetingItem?.configOption.setMeetingTopic("Test Name")
ZoomSDK.shared()?.getPremeetingService()?.scheduleMeeting(scheduleMeetingItem)

And I got an error (1: EXC_BAD_ACCESS (code=1, address=0x4203193d0f48)) on this step:

...scheduleMeeting(scheduleMeetingItem)

The most interesting thing that when I created Objective-C class in the same project, and call the same chunk of code:

ZoomSDKScheduleMeetingItem *scheduleMeetingItem = [[[ZoomSDK sharedSDK] getPremeetingService] createScheduleMeetingItem];
[[scheduleMeetingItem1 configOption] setMeetingTopic:@"Test Name"];
[[[ZoomSDK sharedSDK] getPremeetingService] scheduleMeeting:scheduleMeetingItem];

My schedule meeting was created successfully.

Hi @anton.yereshchenko, thanks for the post.

That is certainly strange that this is only an issue with Swift. Can you confirm that you are calling both of these code snippets at the same point in time?

Thanks!

Hi @jon.lieblich, thanks for the report.

Yes, I confirm it. I tried to call this chunk of code in identical similar situations. And the result you can see above.

Thanks!

Hi @anton.yereshchenko, thanks for confirming.

Can you please provide the crash logs so that we may investigate this further?

Thanks!

Hi @jon.lieblich , do you mean ZoomSDK logs?

Xcode displays only this one: 1: EXC_BAD_ACCESS (code=1, address=0x4203193d0f48)

Hi @anton.yereshchenko,

Yes, the SDK logs. They should be located under ~/Library/Logs/${APP_NAME}. Once we have these logs, we can investigate this further.

Thanks!

Hi @jon.lieblich,

Unfortunately, there aren’t any new logs after the crash.

Thank you!

Hi @anton.yereshchenko,

There should be an encrypted log file at the location mentioned in my previous post. Can you please retrieve the log file from there so that we may investigate this further?

Thanks!