# Zoom Mac OS SDK Swift sample project needed

**URL:** <https://devforum.zoom.us/t/zoom-mac-os-sdk-swift-sample-project-needed/8794>\
**Category:** macOS\
**Created:** [March 17, 2020, 8:57am UTC](https://devforum.zoom.us/t/zoom-mac-os-sdk-swift-sample-project-needed/8794 "2020-03-17T08:57:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![heartquake](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/heartquake/32/3639_2.png) [@heartquake](https://devforum.zoom.us/u/heartquake)\
**Post date:** [March 17, 2020, 8:57am UTC](https://devforum.zoom.us/t/zoom-mac-os-sdk-swift-sample-project-needed/8794/1 "2020-03-17T08:57:12Z")

</div>

**Description**  
Is there a how-to document or sample Swift project available for using ZoomSDK MacOS desktop?

Thanks

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 18, 2020, 12:09am UTC](https://devforum.zoom.us/t/zoom-mac-os-sdk-swift-sample-project-needed/8794/2 "2020-03-18T00:09:39Z")

</div>

Hi [heartquake](https://devforum.zoom.us/u/heartquake),

Thanks for using Zoom SDK. Currently we do not have a MacOS SDK sample app that is written in Swift. I will forward this as a demo request to the engineering team and we will look into this once we have enough bandwidth. Our current version or MacOS SDK demo app can be found here: [https://github.com/zoom/zoom-sdk-macos](https://github.com/zoom/zoom-sdk-macos) In the meantime, if you are facing any issues or have any questions, please let us know.

Thanks!

---

<div class="post-metadata">

**Author:** ![tmiskiew](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tmiskiew/32/9174_2.png) [@tmiskiew](https://devforum.zoom.us/u/tmiskiew)\
**Post date:** [May 25, 2020, 10:56pm UTC](https://devforum.zoom.us/t/zoom-mac-os-sdk-swift-sample-project-needed/8794/3 "2020-05-25T22:56:19Z")

</div>

Swift would be nice indeed. We moved our Test code to ObjC but no luck [getUserByUserID always returns nil](https://devforum.zoom.us/t/getuserbyuserid-always-returns-nil/18971) and [actionMeeting Unmute returns ZoomSDKError\_WrongUsage](https://devforum.zoom.us/t/actionmeeting-unmute-returns-zoomsdkerror-wrongusage/18990/6) even though we copied some of the code from the demo app. What are we missing?

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 28, 2020, 6:59am UTC](https://devforum.zoom.us/t/zoom-mac-os-sdk-swift-sample-project-needed/8794/4 "2020-05-28T06:59:21Z")

</div>

Hi @tmiskiew,

Thanks for the reply. If you are trying to use `getUserByUserID`, please try to retrieve the userID from `(void)onUserJoin:(NSArray*)array`, and for the question in [actionMeeting Unmute returns ZoomSDKError\_WrongUsage - #7 by carson.zoom](https://devforum.zoom.us/t/actionmeeting-unmute-returns-zoomsdkerror-wrongusage/18990/7), you may refer to my answer in that post as well.

> [@actionMeeting Unmute returns ZoomSDKError\_WrongUsage](https://devforum.zoom.us/t/actionmeeting-unmute-returns-zoomsdkerror-wrongusage/18990/7):
>
> @sam.decrock Thanks for helping out! slight_smile Hi @dmiskiew, Thanks for the code snippet. If you would like to unmute yourself, you will need to pass a real userID, passing 0 will not work. And the ActionMeetingCmd needs to be called if and only if you are in the meeting. Hope this helps. Thanks!

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:34pm UTC](https://devforum.zoom.us/t/zoom-mac-os-sdk-swift-sample-project-needed/8794/5 "2020-08-21T21:34:16Z")

</div>

Closed on August 21, 2020, 9:34pm UTC


