App Crash happens

Hi Carson,

Thanks for the reply. In xCode 10 it’s working fine. But I need to use xCode 11. So only I am asking. Hope you understand.

Thanks !

Hi saroroo123,

Thanks for the reply. Glad to hear that Xcode 10 is working well. I have forwarded the Xcode 11 support request to our engineering team and we are working on it. Since a lot of dependencies need to change and test, it will take some time. It is recommended to use Xcode 10 during the interim, pardon the inconvenience. Please watch our Github repo updates and I will keep you posted.

Thanks!

Hi Carson,
Thanks for the reply. I have removed scene delegate use from my xCode 11. so it’s working fine now. But we need to fix this crash issue soon. I will keep my eye on your GitHub repo.
Thanks!

1 Like

Thanks Carson!

Yes @saroroo123 keep an eye on the Github repo.

Thanks,
Tommy

Hi @carson.zoom

I saw the github repo. one new version has been released. Is this version supported for xCode 11 and iOS 13 ?

Please confirm.

Thanks!

Hi saroroo123
It already supports ios13, but not xcode11.

Hi @Murray_Li

Thanks for the reply. could you provide the release notes for this version ? so that we can understand the clearly what are things has been updated for this release.

Thanks!

Hi saroroo123
Here’s the detailed release notes:

Hi @Murray_Li

Thanks for the info. I will take a look on it.

Thanks!

Thanks Murray! :slight_smile:

-Tommy

Hi @carson.zoom,

Good day and Happy Monday. I need some info regarding zoom SDK iOS. Please read below things and I need to know which are all the things we can do using Zoom SDK iOS. Those are,

  • invite more people - To Invite more peoples while meeting is running on.
  • share screen - To Share the current meeting screen to some one.
  • change the presenter / host of the call - is this possible to change the host OR is this possible to change the host controls/acccess to some other participants ?

Please provide any documentation OR guidance for above things for iOS development. Thanks in advance :slight_smile: .

Hi saroroo123,

Greetings! Hope you are having a good day as well. Regarding your questions:

Different apps have different ways of inviting other people to join the meeting so we offer all the necessary information in this class(iOS API: MobileRTCInviteHelper Class Reference) for the developer to implement the function to invite other people.

Do you mean sharing a screen only to someone? Or to everyone? If it is everyone, then you could use the screen sharing feature directly by following the instruction here:https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share; If you would like to share only to a specific person, you may need to put someone in a breakout room, join the breakout room, then share the screen.

If you are the host, you can assign co-host using assignCohost(iOS API: MobileRTCMeetingService(User) Category Reference), or you could use makeHost(iOS API: MobileRTCMeetingService(User) Category Reference) to make a user to be the host(that will revoke the host privilege of yourself).

Hope this helps. Thanks!

Hi @carson.zoom.

Our iOS app uses some sort of custom UI for meeting view: custom controls to leave and minimize a meeting. To minimize the meeting we call showMinimizeMeetingFromZoomUIMeeting method of MobileRTCMeetingService. On iPhone it’s working fine, but on iPad the app crashes with [ZMZoomViewController_iPad showMinimizeMeeting:]: unrecognized selector sent to instance.

Could you please provide any information how we can fix this issue on iPad?

Environment:

  • Zoom iOS SDK v4.6.15084.0206
  • iOS 13.x
  • Xcode 11.3.1

Hi cocavo,

Thanks for using Zoom SDK. Are you using Zoom default UI or fully Custom UI? The interface showMinimizeMeetingFromZoomUIMeeting only works in Zoom default UI as mentioned in: https://zoom.github.io/zoom-sdk-ios/category_mobile_r_t_c_meeting_service_07_in_meeting_08.html#a25de310a3d56ef5a9aa83f9d41d45413
Hope this helps. Thanks!

@carson.zoom Thank you for your feedback!

We are using Zoom default UI. We are getting a view of meeting UI by calling meetingView method of MobileRTCMeetingService and then just adding our controls(“minimize” and “leave” buttons) on this view. By clicking on “minimize” button we are calling showMinimizeMeetingFromZoomUIMeeting.

Hi @carson.zoom

Thanks for the reply. I am facing one issue in my project. I am not able to import MobileRTCScreenShareService in SampleHandler.swift class. I have followed this link https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share for my reference.

i am not sure why this happen. I can import the MobileRTC package but I can not import MobileRTCScreenShareService. Also can not see this class name in xCode suggested list also. Please see below screenshot.

and Also I have reviewed your SDK sample code and I compared with my code. all the things looks same in my end. But Honestly I am not sure, If anything I missed or not. So Please suggest me. How to resolve this issue.

#2 --> Another question, does zoom SDK supports remote control access ? if YES then please provide any documentation for this ?

Thanks!

Hi cocavo,

Thanks for the confirmation and thanks for the reply. We are able to identify an issue with this interface on the iPad and we will fix it as soon as possible. Pardon the inconvenience caused by this. Please follow our Github repo for any updates: https://github.com/zoom/zoom-sdk-ios

Hi saroroo123,

Thanks for the reply. Regarding the MobileRTCScreenShareService, since it is a Objective-C header, if you would like to use it in the Swift project, you might need to have a Objective-C bridge header as mentioned in:https://stackoverflow.com/questions/24034409/how-to-import-existing-objective-c-classes-in-swift

We do have remote control feature on iOS SDK, you may find the available interfaces here: https://zoom.github.io/zoom-sdk-ios/interface_mobile_r_t_c_remote_control_service.html and the implementation in our demo app here: https://github.com/zoom/zoom-sdk-ios/blob/master/MobileRTCSample/MobileRTCSample/CustomMeeting/RemoteShareViewController.m

Hope this helps. Thanks!

Hi @carson.zoom,

Thanks for the reply. We also encountered an another crash. If we join to a webinar meeting with multiple panelists (in our case at least two) and one of the panelists turns on the video - the app crashes. We figured out that enabling a drive mode in MobileRTCMeetingSettings by calling disableDriveMode(false) fixes this issue and we use this as workaround for now.

See a crash log below for more information:

*** Assertion failure in NSInteger _UITableViewRowDataNumberOfRowsInSection(UITableViewRowData *__unsafe_unretained, NSInteger)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3901.4.2/UITableViewRowData.m:1669
*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Requested the number of rows for section (1) which is out of bounds.’
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23c70ff8 +[NSException raise:format:arguments:] + 88
3 Foundation 0x00007fff256e9c1a -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166
4 UIKitCore 0x00007fff482b8484 -[UITableViewRowData numberOfRowsInSection:] + 436
5 MobileRTC 0x000000010b1470e9 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 193272
6 MobileRTC 0x000000010b145796 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 186789
7 CoreFoundation 0x00007fff23b9b5bc CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12
8 CoreFoundation 0x00007fff23b9aa35 _CFXRegistrationPost1 + 421
9 CoreFoundation 0x00007fff23b9a7a1 ___CFXNotificationPost_block_invoke + 193
10 CoreFoundation 0x00007fff23c988b3 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1811
11 CoreFoundation 0x00007fff23b9a0f6 _CFXNotificationPost + 950
12 MobileRTC 0x000000010b04ea5d _Z10ios_getpidv + 306967
13 MobileRTC 0x000000010bee4a2f _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 14470206
14 MobileRTC 0x000000010bee6284 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 14476435
15 MobileRTC 0x000000010bee63a1 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 14476720
16 MobileRTC 0x000000010bfc102c _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 15372859
17 MobileRTC 0x000000010bfc0982 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 15371153
18 MobileRTC 0x000000010bfc1415 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 15373860
19 MobileRTC 0x000000010c143235 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 16954436
20 MobileRTC 0x000000010c141df1 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 16949248
21 MobileRTC 0x000000010c16804a _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 17105497
22 MobileRTC 0x000000010c10e87c _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 16738955
23 MobileRTC 0x000000010c154705 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 17025300
24 MobileRTC 0x000000010bbb11cd _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 11113436
25 MobileRTC 0x000000010bbb15d8 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 11114471
26 MobileRTC 0x000000010bbbaaaf _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 11152574
27 MobileRTC 0x000000010bf9bf59 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 15221096
28 MobileRTC 0x000000010bf9bfc3 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 15221202
29 MobileRTC 0x000000010bf04202 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 14599185
30 MobileRTC 0x000000010be01ff3 _Z16TermSBPTUIModulePN3Cmm22ICmmMessageQueueClientE + 13541890
31 CoreFoundation 0x00007fff23bd4b94 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20
32 CoreFoundation 0x00007fff23bd4882 __CFRunLoopDoTimer + 1026
33 CoreFoundation 0x00007fff23bd3eda __CFRunLoopDoTimers + 266
34 CoreFoundation 0x00007fff23bcec4e __CFRunLoopRun + 2238
35 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438
36 GraphicsServices 0x00007fff384c0bb0 GSEventRunModal + 65
37 UIKitCore 0x00007fff48092d4d UIApplicationMain + 1621

Hi cocavo,

Thanks for the reply and the log info. Is this issue reproducible with our demo app? Would it possible to have a short video clip showing the issue? We tried to reproduce this with our demo app but no luck.

Thanks!