Description
Zoom Video SDK 1.1.2 doesn’t compile on Xcode 13.2.1. It does work on Xcode 13.0. This affects both our app and the Zoom example.
Which Desktop Video SDK version?
1.1.2
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Open zoom-video-sdk-macOS-1.1.2/Sample&Libs/Universal-Intel+M1/ZoomVideoSDKSample
- Try to compile
- The following error is shown:
…/zoom-video-sdk-macOS-1.1.2/Sample&Libs/Universal-Intel+M1/ZoomVideoSDK/ZMVideoSDK.framework/Headers/ZMVideoSDKShareHelper.h:31:37: Expected a type
ZMVideoSDKShareHelper.h
Screenshots
I tried attaching a screenshot but I see “Sorry, you can’t embed media items in a post.” when I try to post it.
Device (please complete the following information):
- Device: Apple MacBook Air 2020 (13-inch, M1)
- OS: macOS Monterey 12.1
Current workaround and potential fix
Add the following imports to ZMVideoSDKShareHelper.h
#import <CoreGraphics/CGDirectDisplay.h>
#import <CoreGraphics/CGWindow.h>