Troubleshooting
When implementing screen sharing with the Zoom Video SDK for macOS, you may run into the common scenarios below. Most include workarounds that address the majority of cases.
No app windows
If you get an error during full-screen screen sharing where the display shows only your desktop but no app windows, this could be the result of a signing error.
Solution
Follow these steps to sign your app and resolve this issue.
- Sign the Video SDK files. Be sure that all are signed recursively, including the
*.appfiles such asaomhost.app. - Archive the app in Xcode using Product > Archive.
- Select the archive under Window > Organizers and select Distribute App.
- Select Custom as the method for distribution.
- Select Copy App for the specific method of distribution.
- Go to the directory of the exported app in Terminal, then run
codesign --deep --force --verify --verbose --sign "your certificate" ./yourapp.app - In System Settings under Privacy & Security > Screen & System Audio Recording, add the signed app to the list of allowed applications and enable it.
With the screen recording permission added and both the SDK and app correctly signed, you should be able to share any app's windows after you start screen sharing with your app.