auth error

#21

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. 

0 Likes

#22

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

0 Likes

#23

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.

0 Likes

#24

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

func onZoomSDKAuthReturn(_ returnValue: ZoomSDKAuthError)

0 Likes

#25

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

0 Likes

#26

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)

 

0 Likes

#27

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

0 Likes

#28

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

 

0 Likes

#29

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.

0 Likes

#30

can you please tell me reason of not calling 

onZoomSDKAuthReturn delegate method

0 Likes

#31

I have checked as soon as i call delegate app crash 

0 Likes

#32

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.

0 Likes

#33

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

0 Likes

#34

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!

0 Likes

#35

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

 

0 Likes

#36

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.

0 Likes