The problem is I’m getting err = ZoomSDKError_ServiceFailed. What’s more, when the assertion at the end of authorizeSDK is commented out, the callback method - onZoomSDKAuthReturn: - isn’t being called at all.
Thanks for confirming. Since you are successfully initializing the SDK, I’m not seeing anything wrong with your implementation. Usually this means that there was an issue with how the SDK was added to your project, since that can have runtime implications. Can you please confirm how you added the SDK?
Basically, I added and linked to all the files under the Universal-Intel+M1/ZoomSDK directory (.framework, .bundle, .dylib, .app) and there’s a script which copies them to the final product’s Frameworks directory:
It does in fact look like this is where the issue lies. You will need a Copy Files build phase with a Frameworks destination containing the SDK’s files. Under Link Binary With Libraries add ZoomSDK.framework as well as the SDK files with a dylib extension. Due to the high number of individual files in the SDK, I would recommend comparing against the SDK sample app to be sure everything looks correct.
What is the call flow for launching a meeting using the default zoom window?
Am I understanding correctly that the videoContainer member of the meetingService is what I’d configure if I wanted to use a custom UI? If so, can you provide the call flow for that as well?
You are seeing this error because you are trying to start an instant meeting with a user type of SDKUserType_APIUser. An API users refers to a type of user who was created through the REST API and does not have the ability to log into Zoom. These types of users are unable to create instant meetings.