Description
I have updated Zoom SDK version and noticed that screen/window sharing doesn’t work.
After some checks I have figured out that starts from 5.11.0.8370 startMonitorShare and startAppShare methods return Failed status.
But if I switch to 5.10.6.7530 sharing works again.
Thanks for using the SDK and sorry to hear that the screen sharing is not working as expected on your end.
As you have already tried, we are not observing the same issue on our end with the sample app, so we might need additional information from you in order to further investigate this issue. Could you share the following info:
What is your Xcode version? Are you using the legacy build system or the new build system?
Could you share some code snippets of how you use these 2 interfaces startMonitorShare and startAppShare?
Could you share the SDK log so that we could further investigate?
Sorry for the behavior you are seeing with screen sharing. We’d like to get a better understanding of what may be happening but we’ll need your help. Can you open a support ticket here and share the logs? Please include a link to this thread and direct message the ticket number.
If it helps, we are seeing a similar issue. Previous version works, we change nothing except the sdk version, receiving screen sharing shows blank view. I cant seem to reproduce in the sample application though.
@anton.yereshchenko@BrobaFett One additional question: Have you re-signed the libraries and frameworks in the SDK? If the share module(CptHost.app) is not signed, the share interface will return fail.
Once the SDK is re-signed, please also make sure you pass in the teamIdentifier in the initSDK interface.
DIR="ZoomSDK"
IDENTITY=${EXPANDED_CODE_SIGN_IDENTITY_NAME}
echo "Re-signing *.app files in directory \"$DIR\" with Authority: \"$IDENTITY\""
for file in $DIR/*; do
if [ "${file: -4}" == ".app" ]; then
if codesign -dvv --deep "$file" 2>&1 | grep -qF "$IDENTITY"
then
echo "File \"$file\" has been already signed."
else
echo "File \"$file\" is not signed correctly."
echo "File \"$file\" will sign with \"$IDENTITY\"..."
codesign --force --verify --timestamp --verbose --options=runtime --sign "$IDENTITY" "$file"
echo "File \"$file\" has been signed with \"$IDENTITY\"."
fi
fi
done
$IDENTITY is equal to string (for debug): “Apple Development: USERNAME (ID)”
Check that teamIdentifier in ZoomSDKInitParams is equal to Team ID from developer Apple portal.
And finally screen/window sharing works for debug. BUT after archiving and notarising the app sharing doesn’t want to work again:(
And result of codesign -dv --verbose=4 <FILENAME.app> is shown that main app and Zoom apps have the same Authority and is equal to string (for release): “Developer ID Application: COMPANY_NAME (ID)”
Should I do some additional step to make it works in the build after archiving and notarising?
Thank you for helping with re-singing and teamIdentifier
Glad to hear that the screen sharing feature is working for you in the debug mode. For the release build, you will need to re-sign everything in the folder ZoomSDK. Please double check the signatures after you re-sign everything and make sure everything has been re-signed.