# ZoomSDK for macOS crashes at initSDK

**URL:** <https://devforum.zoom.us/t/zoomsdk-for-macos-crashes-at-initsdk/74180>\
**Category:** macOS\
**Created:** [August 13, 2022, 8:08pm UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-crashes-at-initsdk/74180 "2022-08-13T20:08:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsqtzghj97](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@vsqtzghj97](https://devforum.zoom.us/u/vsqtzghj97)\
**Post date:** [August 13, 2022, 8:08pm UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-crashes-at-initsdk/74180/1 "2022-08-13T20:08:23Z")

</div>

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:

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

```

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [August 13, 2022, 8:59pm UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-crashes-at-initsdk/74180/2 "2022-08-13T20:59:09Z")

</div>

Hi @vsqtzghj97 , this error is likely related to the minimum client version we now require.

Can you please test with a recent version of the SDK? Versions 5.10 & 5.11 are available for download in your SDK app on the Marketplace.

---

<div class="post-metadata">

**Author:** ![vsqtzghj97](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@vsqtzghj97](https://devforum.zoom.us/u/vsqtzghj97)\
**Post date:** [August 14, 2022, 5:49am UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-crashes-at-initsdk/74180/3 "2022-08-14T05:49:51Z")

</div>

Sorry, my bad I copied wrong filename. Version that I’m using is zoom-sdk-macos-5.11.3.9091 so it looks like it’s the latest one.

---

<div class="post-metadata">

**Author:** ![vsqtzghj97](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@vsqtzghj97](https://devforum.zoom.us/u/vsqtzghj97)\
**Post date:** [August 14, 2022, 5:59am UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-crashes-at-initsdk/74180/4 "2022-08-14T05:59:26Z")

</div>

I just tried on zoom-sdk-macos-5.10.6.7530 - it doesn’t crash but initSDK returns ZoomSDKError\_ServiceFailed instead

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [August 17, 2022, 5:43pm UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-crashes-at-initsdk/74180/5 "2022-08-17T17:43:05Z")

</div>

@vsqtzghj97,  
What version of Xcode are you running when you see ZoomSDKError\_ServiceFailed ? Also, note for v 5.9 onwards. you will have to add support for authorization and authentication using OAuth 2.0. See [Create an SDK app](https://marketplace.zoom.us/docs/guides/build/sdk-app), [Supporting OAuth in your SDK app](https://marketplace.zoom.us/docs/sdk/native-sdks/auth/support-oauth-SDK-app), and [PKCE OAuth and the iOS Meeting SDK](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/build-an-app/pkce/) for details.

# Create an SDK App

[https://marketplace.zoom.us/docs/guides/build/sdk-app/](https://marketplace.zoom.us/docs/guides/build/sdk-app/)

# Support OAuth in your SDK app

[https://marketplace.zoom.us/docs/sdk/native-sdks/auth/support-oauth-SDK-app/](https://marketplace.zoom.us/docs/sdk/native-sdks/auth/support-oauth-SDK-app/)

# PKCE OAuth and the iOS Meeting SDK

[https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/build-an-app/pkce/](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/build-an-app/pkce/)

---

<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:** [September 17, 2022, 3:43am UTC](https://devforum.zoom.us/t/zoomsdk-for-macos-crashes-at-initsdk/74180/6 "2022-09-17T03:43:57Z")

</div>

Closed on September 17, 2022, 3:43am UTC

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