# App Crash happens

**URL:** <https://devforum.zoom.us/t/app-crash-happens/4144>\
**Category:** iOS\
**Created:** [May 3, 2019, 6:05pm UTC](https://devforum.zoom.us/t/app-crash-happens/4144 "2019-05-03T18:05:49Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![saroroo123](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@saroroo123](https://devforum.zoom.us/u/saroroo123)\
**Post date:** [December 2, 2019, 7:09am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/81 "2019-12-02T07:09:32Z")

</div>

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 !

---

<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:** [December 2, 2019, 8:43pm UTC](https://devforum.zoom.us/t/app-crash-happens/4144/82 "2019-12-02T20:43:27Z")

</div>

Hi [saroroo123](https://devforum.zoom.us/t/app-crash-happens/4144/81),

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!

---

<div class="post-metadata">

**Author:** ![saroroo123](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@saroroo123](https://devforum.zoom.us/u/saroroo123)\
**Post date:** [December 3, 2019, 2:30pm UTC](https://devforum.zoom.us/t/app-crash-happens/4144/83 "2019-12-03T14:30:16Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 5, 2019, 12:22am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/84 "2019-12-05T00:22:27Z")

</div>

Thanks Carson!

Yes @saroroo123 keep an eye on the [Github repo](https://github.com/zoom/zoom-sdk-ios).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![saroroo123](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@saroroo123](https://devforum.zoom.us/u/saroroo123)\
**Post date:** [December 30, 2019, 7:18am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/85 "2019-12-30T07:18:00Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Murray\_Li](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/murray_li/32/58_2.png) [@Murray\_Li](https://devforum.zoom.us/u/Murray_Li)\
**Post date:** [December 31, 2019, 10:27am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/86 "2019-12-31T10:27:59Z")

</div>

Hi saroroo123  
It already supports ios13, but not xcode11.

---

<div class="post-metadata">

**Author:** ![saroroo123](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@saroroo123](https://devforum.zoom.us/u/saroroo123)\
**Post date:** [December 31, 2019, 10:30am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/87 "2019-12-31T10:30:00Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Murray\_Li](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/murray_li/32/58_2.png) [@Murray\_Li](https://devforum.zoom.us/u/Murray_Li)\
**Post date:** [December 31, 2019, 10:42am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/88 "2019-12-31T10:42:33Z")

</div>

Hi saroroo123  
Here’s the detailed release notes：

> <https://github.com/zoom/zoom-sdk-ios/blob/master/CHANGELOG.md>

---

<div class="post-metadata">

**Author:** ![saroroo123](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@saroroo123](https://devforum.zoom.us/u/saroroo123)\
**Post date:** [December 31, 2019, 10:47am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/89 "2019-12-31T10:47:49Z")

</div>

Hi @Murray_Li

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

Thanks!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 31, 2019, 6:39pm UTC](https://devforum.zoom.us/t/app-crash-happens/4144/90 "2019-12-31T18:39:17Z")

</div>

Thanks Murray! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![saroroo123](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@saroroo123](https://devforum.zoom.us/u/saroroo123)\
**Post date:** [March 30, 2020, 7:51am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/91 "2020-03-30T07:51:23Z")

</div>

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 🙂 .

---

<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 30, 2020, 9:57pm UTC](https://devforum.zoom.us/t/app-crash-happens/4144/92 "2020-03-30T21:57:31Z")

</div>

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

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

> [@saroroo123](#):
>
> **invite more people** - To Invite more peoples while meeting is running on.

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](https://zoom.github.io/zoom-sdk-ios/interface_mobile_r_t_c_invite_helper.html)) for the developer to implement the function to invite other people.

> [@saroroo123](#):
>
> **share screen** - To Share the current meeting screen to some one.

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](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.

> [@saroroo123](#):
>
> **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 ?

If you are the host, you can assign co-host using `assignCohost`([iOS API: MobileRTCMeetingService(User) Category Reference](https://zoom.github.io/zoom-sdk-ios/category_mobile_r_t_c_meeting_service_07_user_08.html#ad57fc3146b84439dcf00f1abd7e0aa4c)), or you could use `makeHost`([iOS API: MobileRTCMeetingService(User) Category Reference](https://zoom.github.io/zoom-sdk-ios/category_mobile_r_t_c_meeting_service_07_user_08.html#a5cb3e951bb7a40dd93988456b6e5d3cd)) to make a user to be the host(that will revoke the host privilege of yourself).

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![cocavo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cocavo/32/3122_2.png) [@cocavo](https://devforum.zoom.us/u/cocavo)\
**Post date:** [March 31, 2020, 6:26am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/93 "2020-03-31T06:26:52Z")

</div>

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

---

<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 31, 2020, 7:44pm UTC](https://devforum.zoom.us/t/app-crash-happens/4144/94 "2020-03-31T19:44:45Z")

</div>

Hi [cocavo](https://devforum.zoom.us/u/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](https://zoom.github.io/zoom-sdk-ios/category_mobile_r_t_c_meeting_service_07_in_meeting_08.html#a25de310a3d56ef5a9aa83f9d41d45413)  
Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![cocavo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cocavo/32/3122_2.png) [@cocavo](https://devforum.zoom.us/u/cocavo)\
**Post date:** [April 1, 2020, 6:01am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/95 "2020-04-01T06:01:22Z")

</div>

@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`.

---

<div class="post-metadata">

**Author:** ![saroroo123](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@saroroo123](https://devforum.zoom.us/u/saroroo123)\
**Post date:** [April 1, 2020, 5:08pm UTC](https://devforum.zoom.us/t/app-crash-happens/4144/96 "2020-04-01T17:08:43Z")

</div>

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](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.

 ![Screen Shot 2020-04-01 at 10.35.16 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/90c87a3196c6e275af6b6879a5763f15674ac9c4.jpeg)

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!

---

<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:** [April 1, 2020, 7:07pm UTC](https://devforum.zoom.us/t/app-crash-happens/4144/97 "2020-04-01T19:07:34Z")

</div>

Hi [cocavo](https://devforum.zoom.us/u/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](https://github.com/zoom/zoom-sdk-ios)

---

<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:** [April 1, 2020, 7:26pm UTC](https://devforum.zoom.us/t/app-crash-happens/4144/98 "2020-04-01T19:26:05Z")

</div>

Hi [saroroo123](https://devforum.zoom.us/u/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](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](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](https://github.com/zoom/zoom-sdk-ios/blob/master/MobileRTCSample/MobileRTCSample/CustomMeeting/RemoteShareViewController.m)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![cocavo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cocavo/32/3122_2.png) [@cocavo](https://devforum.zoom.us/u/cocavo)\
**Post date:** [April 2, 2020, 6:03am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/99 "2020-04-02T06:03:07Z")

</div>

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

---

<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:** [April 2, 2020, 7:30am UTC](https://devforum.zoom.us/t/app-crash-happens/4144/100 "2020-04-02T07:30:41Z")

</div>

Hi [cocavo](https://devforum.zoom.us/u/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!

[Previous page](https://devforum.zoom.us/t/app-crash-happens/4144.md?page=4)

[Next page](https://devforum.zoom.us/t/app-crash-happens/4144.md?page=6)
