# Troubleshooting Video SDK initialization on macOS

**URL:** <https://devforum.zoom.us/t/troubleshooting-video-sdk-initialization-on-macos/108171>\
**Category:** macOS\
**Created:** [April 18, 2024, 2:55pm UTC](https://devforum.zoom.us/t/troubleshooting-video-sdk-initialization-on-macos/108171 "2024-04-18T14:55:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![richardpiazza](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richardpiazza/32/58829_2.png) [@richardpiazza](https://devforum.zoom.us/u/richardpiazza)\
**Post date:** [May 21, 2024, 7:13pm UTC](https://devforum.zoom.us/t/troubleshooting-video-sdk-initialization-on-macos/108171/3 "2024-05-21T19:13:43Z")

</div>

I _may_ have solved my issue. In the initialization of the SDK, the [online documentation](https://developers.zoom.us/docs/video-sdk/macos/integrate/) includes this:

```swift
let initParams = ZMVideoSDKInitParams()
initParams.domain = "zoom.us"
initParams.enableLog = true

```

But, what is not indicated is that if you do not supply a `logFilePrefix` then SDK initialization will fail. Be sure to include that in your setup. _This differs from the iOS SDK which does not require the log file prefix to be set._

```swift
let initParams = ZMVideoSDKInitParams()
initParams.domain = "zoom.us"
initParams.enableLog = true
initParams.logFilePrefix = "ZoomSDK"

```

* * *

_Fabulous work, Zoom team_… maybe updating your documentation and sample projects should be a higher priority.

---

_[View the full topic](https://devforum.zoom.us/t/troubleshooting-video-sdk-initialization-on-macos/108171)._
