# Cannot even run the project

**URL:** <https://devforum.zoom.us/t/cannot-even-run-the-project/35105>\
**Category:** Meeting SDK\
**Created:** [November 4, 2020, 1:02pm UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105 "2020-11-04T13:02:27Z")\
**Posts on this page:** 13\
**Page:** 3

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 7, 2021, 6:35pm UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/45 "2021-01-07T18:35:01Z")

</div>

Hey @mohammed.adel.sorour ,

I am happy to hear @jon.zoom was able to get your android implementation running, he is very helpful indeed. 🙂

I am not super familiar with flutter, but this error usually happens when you are trying to access something that has already been deallocated. Is it possible to share a screenshot of what Xcode prints out to the terminal at the bottom when the app crashes?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![mohammed.adel.sorour](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@mohammed.adel.sorour](https://devforum.zoom.us/u/mohammed.adel.sorour)\
**Post date:** [January 11, 2021, 11:48am UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/46 "2021-01-11T11:48:14Z")

</div>

i managed to fix all crashes  
the app is ready to be published to app store  
my last question (hopefully) will be have to add share screen option to the normal action sheet that appears when click share screen button

right now i need to open control center then click record then select my app

i would like to make the share screen process like the zoom ios official app

---

<div class="post-metadata">

**Author:** ![mohammed.adel.sorour](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@mohammed.adel.sorour](https://devforum.zoom.us/u/mohammed.adel.sorour)\
**Post date:** [January 11, 2021, 2:28pm UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/47 "2021-01-11T14:28:19Z")

</div>

the fix for share screen not visible:

> solution:  
> func onClickShareScreen(\_ parentVC: UIViewController) {  
> if #available(iOS 12.0, \*) {  
> var broadcastView = RPSystemBroadcastPickerView()  
> broadcastView.preferredExtension = "screen share extension id "  
> broadcastView.tag = 1  
> self.view.addSubview(broadcastView)  
> if let view = self.view.viewWithTag(1) as? RPSystemBroadcastPickerView {  
> broadcastView = view  
> }  
> if broadcastView == nil {  
> return  
> }

```
         for subView in broadcastView.subviews {
             if subView is UIButton {
                 let broadcastBtn = subView as? UIButton
                 broadcastBtn?.sendActions(for: .allTouchEvents)
                 break
             }
         }
     }
}

```

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 11, 2021, 10:08pm UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/48 "2021-01-11T22:08:47Z")

</div>

Hey @mohammed.adel.sorour,

Were you able to get everything working?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![mohammed.adel.sorour](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@mohammed.adel.sorour](https://devforum.zoom.us/u/mohammed.adel.sorour)\
**Post date:** [January 11, 2021, 10:24pm UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/49 "2021-01-11T22:24:46Z")

</div>

@Michael_Condon  
yes and the app is working fine  
but after Production  
the screen share crashes when the app go to the backgroun :Production issue

 ![IMG_0183 copy](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/1/71138b988a47d932ad08944334c92e8c52529cdf.jpeg)

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 11, 2021, 10:55pm UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/50 "2021-01-11T22:55:53Z")

</div>

Hey @mohammed.adel.sorour,

Are you receiving any errors within your SampleHandler when this happens?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![mohammed.adel.sorour](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@mohammed.adel.sorour](https://devforum.zoom.us/u/mohammed.adel.sorour)\
**Post date:** [January 12, 2021, 12:02pm UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/51 "2021-01-12T12:02:08Z")

</div>

this is a production level(live version of the app) of errors  
although the final version (development) was working as it should  
with no errors even with older phones like iPhone 5s

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 12, 2021, 11:50pm UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/52 "2021-01-12T23:50:04Z")

</div>

Hey @mohammed.adel.sorour,

Is it possible that for your release target you do not have the required background permissions that are present in your development target? This might be Apple denying the app from accessing certain things in the background. [Background Modes Tutorial: Getting Started | raywenderlich.com](https://www.raywenderlich.com/5817-background-modes-tutorial-getting-started)  
It also may be worth checking that your provisioning profile has access to this for a release build.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![mohammed.adel.sorour](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@mohammed.adel.sorour](https://devforum.zoom.us/u/mohammed.adel.sorour)\
**Post date:** [January 13, 2021, 12:04am UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/53 "2021-01-13T00:04:12Z")

</div>

Does the permission change by itself from development level to production level?

---

<div class="post-metadata">

**Author:** ![mohammed.adel.sorour](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@mohammed.adel.sorour](https://devforum.zoom.us/u/mohammed.adel.sorour)\
**Post date:** [January 13, 2021, 12:08am UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/54 "2021-01-13T00:08:47Z")

</div>

Does Share screen require special  
Modes rather than background fetch and background audio?

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 13, 2021, 12:23am UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/55 "2021-01-13T00:23:49Z")

</div>

Hey @mohammed.adel.sorour,

No, there just needs to be the background mode “Audio, Airplay, and Picture in Picture”.  
Are you using the same provisioning profile for your production version as you are for the development version?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![mohammed.adel.sorour](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@mohammed.adel.sorour](https://devforum.zoom.us/u/mohammed.adel.sorour)\
**Post date:** [January 14, 2021, 2:10pm UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/56 "2021-01-14T14:10:25Z")

</div>

Thanks Michael  
the app was missing background modes  
i really cannot thank you enough , i went from zero to little hero with zoom sdk in few months  
thank you for being patient and able to communicate with Junior devs.  
the app is up and running , i think we may be the first flutter app to have native implementation for ZOOM SDK Android and iOS  
we would like to be featured on App Market place if possible

i will write ASAP a full documentation for my last 2 months of development for both iOS and Android integration with flutter and an acknowledgment for your effort and @jon.zoom will be mentioned .  
Thanks!

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 14, 2021, 7:27pm UTC](https://devforum.zoom.us/t/cannot-even-run-the-project/35105/57 "2021-01-14T19:27:31Z")

</div>

Hey @mohammed.adel.sorour,

Awesome! Thank you so much for the kind words 🙂 I am so proud of you!! What you have accomplished is no small feat, junior developer or otherwise! Nice job!

Keep climbing!  
Thanks!  
Michael

[Previous page](https://devforum.zoom.us/t/cannot-even-run-the-project/35105.md?page=2)
