# ZoomSDK for macOS Error on initSDK: Assertion failed: (FALSE)

**URL:** <https://devforum.zoom.us/t/zoomsdk-for-macos-error-on-initsdk-assertion-failed-false/77579>\
**Category:** macOS\
**Tags:** meeting-sdk\
**Created:** [October 18, 2022, 11:11pm UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-error-on-initsdk-assertion-failed-false/77579 "2022-10-18T23:11:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mykola99ds](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mykola99ds/32/42356_2.png) [@mykola99ds](https://devforum.zoom.us/u/mykola99ds)\
**Post date:** [October 18, 2022, 11:11pm UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-error-on-initsdk-assertion-failed-false/77579/1 "2022-10-18T23:11:38Z")

</div>

I’m experiencing crashes every time I’m trying to initSDK on

- macOS 12.6
- XCode 14.0.1
- zoom-sdk-macos-5.12.0.11229

Code I’m using:

```auto
let zoom: ZoomSDK = ZoomSDK.shared();

func zoomInit(){
    let params = ZoomSDKInitParams();
    params.needCustomizedUI = false;
    params.teamIdentifier = nil;
    zoom.initSDK(with: params);
}

```

Output I’m getting:

```auto
Assertion failed: (FALSE), function InitPTAppApi, file ZoomSDKModuleClient.cpp, line 165.

```

---

<div class="post-metadata">

**Author:** ![Atma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/atma/32/38350_2.png) [@Atma](https://devforum.zoom.us/u/Atma)\
**Post date:** [October 19, 2022, 9:17am UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-error-on-initsdk-assertion-failed-false/77579/2 "2022-10-19T09:17:51Z")

</div>

Is there something wrong with your initialized params?

---

<div class="post-metadata">

**Author:** ![mykola99ds](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mykola99ds/32/42356_2.png) [@mykola99ds](https://devforum.zoom.us/u/mykola99ds)\
**Post date:** [October 19, 2022, 2:05pm UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-error-on-initsdk-assertion-failed-false/77579/3 "2022-10-19T14:05:42Z")

</div>

I’ve used this snippet from official MacOS Meetings SDK demo app to set params:

```auto
+(void)initSDK:(BOOL)useCustomizedUI
{
   /* NSString *localeIdentifier = [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode];
    if(localeIdentifier && [localeIdentifier.uppercaseString isEqualToString:@"CN"])
        [[ZoomSDK sharedSDK] setAppLocale:ZoomSDKLocale_CN];
    else
        [[ZoomSDK sharedSDK] setAppLocale:ZoomSDKLocale_Def];*/
    
    ZoomSDKInitParams* params = [[ZoomSDKInitParams alloc] init];
    params.needCustomizedUI = useCustomizedUI;
    params.teamIdentifier = nil;
    [[ZoomSDK sharedSDK] initSDKWithParams:params];
    [ZMSDKCommonHelper sharedInstance].isUseCutomizeUI = useCustomizedUI;
    params = nil;
}

```

And also experimented with other params variations, always the same error

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [October 30, 2022, 7:36am UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-error-on-initsdk-assertion-failed-false/77579/4 "2022-10-30T07:36:25Z")

</div>

same error message, but no solution

> [@ZoomSDK for macOS crashes at initSDK](https://devforum.zoom.us/t/zoomsdk-for-macos-crashes-at-initsdk/74180):
>
> I’m experiencing crashes every time I’m trying to initSDK on zoom-sdk-macos-5.2.42037.1112 Output that I’m getting is: Assertion failed: (FALSE), function InitPTAppApi, file ZoomSDKModuleClient.cpp, line 165. Assertion failed: (FALSE), function InitPTAppApi, file ZoomSDKModuleClient.cpp, line 165.

you could try version 5.10 or 5.11, if there are any differences

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 29, 2022, 5:36pm UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-error-on-initsdk-assertion-failed-false/77579/5 "2022-11-29T17:36:48Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![tomihira](https://avatars.discourse-cdn.com/v4/letter/t/f07891/32.png) [@tomihira](https://devforum.zoom.us/u/tomihira)\
**Post date:** [November 30, 2022, 12:45am UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-error-on-initsdk-assertion-failed-false/77579/6 "2022-11-30T00:45:03Z")

</div>

I encountered the same problem with version 5.12.8.12615.  
I am now using version 5.11.11.10564 and have resolved the issue.  
Are there any plans to fix this problem in 5.12?  
We would like to use the latest version as soon as possible.
