auth error

ok, I get, make sure that all the zoomsdk framework in in the location: your app name/Contents/Frameworks , or your app can’t load the sdk framework successfully, u can refer to my sample code, in the Build Phases setting, I copy all the sdk framework into Framework destination. 

I have placed your zoom sdk folder with my xcworkspace and in build phase I have added files from there only.

try the solution I say, or it can’t work. our SDK load the framework in the specific location. cp all the frameworks in ZoomSDK folder to your app Frameworks folder, not cp ZoomSDK folder.

Thanks it worked but now app crashing authService.sdkAuth(meetingParticipants.sdkKey, appSecret: meetingParticipants.sdkSecret); after this and not going inside 

func onZoomSDKAuthReturn(_ returnValue: ZoomSDKAuthError)

can u show me the crash info that apple provide? the crash thread stack

This is the info I get in console before crashing

objc[1158]: Class ZPConfEventHandler is implemented in both /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/ZoomSDK.framework/Versions/A/ZoomSDK (0x100addba8) and /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/zVideoUI.bundle/Contents/MacOS/zVideoUI (0x10d23bbb0). One of the two will be used. Which one is undefined.

objc[1158]: Class ZMSearchTextField is implemented in both /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/ZoomSDKChatUI.framework/Versions/A/ZoomSDKChatUI (0x1014b2830) and /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/zVideoUI.bundle/Contents/MacOS/zVideoUI (0x10d23d488). One of the two will be used. Which one is undefined.

objc[1158]: Class ZPLogHelperImp is implemented in both /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/ZoomSDKChatUI.framework/Versions/A/ZoomSDKChatUI (0x1014b8aa0) and /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/zVideoUI.bundle/Contents/MacOS/zVideoUI (0x10d23d870). One of the two will be used. Which one is undefined.

objc[1158]: Class ZPLogHelperNull is implemented in both /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/ZoomSDKChatUI.framework/Versions/A/ZoomSDKChatUI (0x1014b8af0) and /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/zVideoUI.bundle/Contents/MacOS/zVideoUI (0x10d23d8c0). One of the two will be used. Which one is undefined.

objc[1158]: Class ZPShareSelectWindowModel is implemented in both /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/ZoomSDK.framework/Versions/A/ZoomSDK (0x100add090) and /Users/Imbibe-Desk16/Library/Developer/Xcode/DerivedData/SecureMeet-cvqspwvhxmxhjlgkennwtfisibsl/Build/Products/Debug/SecureMeet.app/Contents/Frameworks/zVideoUI.bundle/Contents/MacOS/zVideoUI (0x10d23dc58). One of the two will be used. Which one is undefined.

[1158:775:06-29/10:16:18.164:FATAL:CmmAudioSessionMgr.cpp(2625)] Assert failed: 0.

2018-06-29 10:16:19.780443+0530 SecureMeet[1158:48746] sinkSDKOnAuth:0

 

and this is thread info 

 

Thread 1: EXC_BAD_ACCESS (code=1, address=0x737265735540)

 

This is not the info i want, I want to check the .crash file,  like this:

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [0]

Application Specific Information:
dyld: launch, running initializers
/usr/lib/libSystem.B.dylib
Sandbox registration internal error: Incoming message euid:0 does not match secinitd uid:501.

Application Specific Signatures:
Internal error: Incoming message euid:0 does not match secinitd uid:501.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_secinit.dylib 0x00007fff51248027 _libsecinit_setup_secinitd_client + 1355
1 libsystem_secinit.dylib 0x00007fff51247a7b _libsecinit_initialize_once + 13
2 libdispatch.dylib 0x00007fff50ee8e08 _dispatch_client_callout + 8
3 libdispatch.dylib 0x00007fff50ee8dbb dispatch_once_f + 41
4 libSystem.B.dylib 0x00007fff4ec469d2 libSystem_initializer + 136
5 dyld 0x00000001142d6a7a ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 420
6 dyld 0x00000001142d6caa ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
7 dyld 0x00000001142d21cc ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 330
8 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221
9 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221
10 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221
11 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221
12 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221
13 dyld 0x00000001142d215f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221
14 dyld 0x00000001142d1302 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 134

 

in Console, system report, please check your code, it looks like u use the null point

Its not showing any info when it crash just give this Thread 1: EXC_BAD_ACCESS (code=1, address=0x737265735540)

 

the .crash file won’t generated in debug mode, u can add exception breakpoints in your xcode project,  no customer use the sdk will crash at sdkauth, please debug and fix it yourself, it isn’t a crash of zoomsdk.

can you please tell me reason of not calling 

onZoomSDKAuthReturn delegate method

I have checked as soon as i call delegate app crash 

I have no idea about your app crash for i didn’t see your code, u can input your secret and key in my demo code, see what happen.

if my demo won’t crash please figure out it yourself.

Your demo app won’t crash its just showing authentication sdk 

I am unable to test meeting part in demo because i don’t have sso 

I am getting error code 0 if i skip delegates and directly call meeting service it returns nil in meeting service

if auth success, meeting service won’t be nil, u should read interface more carefully 

@protocol ZoomSDKAuthDelegate <NSObject>

@required

/**

* @brief Designated for Zoom SDK Auth response.

*

* @param returnValue tell user when the auth state changed.

*

*/

#ifdef BUILD_FOR_ELECTRON

  • (void)onZoomSDKAuthReturn:(NSNumber*)returnValue;

#else

  • (void)onZoomSDKAuthReturn:(ZoomSDKAuthError)returnValue;

#endif

@required define in the interface means this delegate is necessary, how to use delegate to get callback, this is basic knowledge for object C,  one suggestion: search  ZoomSDKAuthDelegate  as key word in my demo, see how i play with it, Good luck!

I have that basic knowledge btw I am building in swift not in objective c

 

Hello guys, Is there any update here?

I am using Swift as well and come across the same issue. Please help.

The authRet is 3 and its delegator is not invoked.

Btw, the zoomDomain I have tried www.zoom.us and https://www.zoom.us and https://zoom.us Neither works.

where do we set app secrete and sdk key in latest version of macOS sdk demo app?

Hi @anupsoni,

Thanks for using Zoom SDK. Right now we encourage using JWT token for authentication. Please refer to the instruction here: https://github.com/zoom/zoom-sdk-macos#initializing-sdk-with-jwt-token

Thanks!

We are getting Auth error saying connect failed. We are using JWT token for auth.

Now we are getting like this,
Error: Send error, 60 Operation timed out

Error: Send error, 60 Operation timed out

Error: Send error, 60 Operation timed out