We previously have had a successful integration of the MobileRTC SDK on the iOS platform. Now we are trying to do the same on Mac. Unfortunately, in the ZoomSDKSample for MacOS -[ZoomSDKAuthService sdkAuth:…] and -[ZoomSDKAuthService sdkAuth:… appSecret:…] both fail with the same valid credentials and return ZoomSDKError_ServiceFailed error.
We are using the latest at the moment SDK version 5.2.41735.0929
Thank you for the reply. I have enabled the SDK log, but the folder you mentioned (in my case it is ~/Library/Logs/ZoomSDKSample) is empty.
Maybe I am doing something wrong?
Thank you for the suggestion. I have copied the ZoomSDK folder to the sample project folder. Unfortunately, there are still no logs and I still get the ZoomSDKError_ServiceFailed error.
Do you have any other suggestions? Or maybe I can provide some additional information?
Thank you and best regards
There is no Target->Build Phases->Copy Files phases in the sample project. All the contents of the ZoomSDK is included in the “Copy Bundle Resources” phase except for .frameworks and .dylibs that are all included in the Embed Frameworks phase. If this is incorrect, can you please point out what is the correct contents of the Copy Files phase?
In the future, I would ask that you please link to external threads from within your own thread rather than tagging me in them unless you are continuing the discussion of the external thread. Posting here may cause additional unnecessary notifications for other users of our forum when there has not been an update on their topic.
Please be mindful of our community guidelines when posting to this forum. We strive to keep this forum as open, friendly, and helpful as possible. Following our guidelines helps accomplish this. Repeated and/or severe offenses may result in temporary or permanent suspension of your posting privileges.
I’m very sorry @jon.zoom I didn’t mind to offend anyone. I’m very frustrated that we and other people have been keep asking this question for over a month now to no avail. I provided simplified code and settings. I offered a ready to compile code. It would take to mouse clicks to open and run the project…
With the most recent SDK version and after ensuring that all @rpath paths are loaded correctly, the error is gone. Initially the problem was that our product is built upon Project Catalyst that is iOS and SDK is Mac, so we tried to place it inside the native MacOS bundle. Everything started working when we placed all the dependencies of the SDK into the /Frameworks of the main project and marked them as “MacOS only”. The SDK itself however is still hosted within the MacOS native bundle. The question can be closed.
Unfortunately I have the same or similar problem, I always get the ZoomSDKError_ServiceFailed error. How can I send you my log files, it doesn’t seem I can attach it here. I guess the log files are encrypted so only you guys can read them?
Sorry to hear you’re running into this issue as well. Before we look into your SDK logs, can you provide a code snippet showing how you are setting up the SDK auth? Also, if you are using a JWT, please provide the payload (with your developer credentials removed).
In the meantime I figured out that it was as you mentioned before caused by libraries not being found/linked by the project. I made sure that in Xcodes Build Phases tab “Link Binary with Libraries” and “Copy Files” contained all the same library/framework files as the SDK sample app does, then the ServiceFailed error disappeared. Maybe this hint helps others with the same issue.