# Getting Undefined Symbols erros while trying build and run in iOS Device

**URL:** <https://devforum.zoom.us/t/getting-undefined-symbols-erros-while-trying-build-and-run-in-ios-device/56075>\
**Category:** iOS\
**Created:** [August 19, 2021, 12:22pm UTC](https://devforum.zoom.us/t/getting-undefined-symbols-erros-while-trying-build-and-run-in-ios-device/56075 "2021-08-19T12:22:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![spraveen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/spraveen/32/32867_2.png) [@spraveen](https://devforum.zoom.us/u/spraveen)\
**Post date:** [August 19, 2021, 12:22pm UTC](https://devforum.zoom.us/t/getting-undefined-symbols-erros-while-trying-build-and-run-in-ios-device/56075/1 "2021-08-19T12:22:40Z")

</div>

**Description**  
I have added the MobileRTC.xcframework, MobileRTCScreenShare.xcframework, MobileRTCResources.bundle, set the bitcode to no, added -lc++,-ObjC in the other linker flags, set the bundles to Embed & Sign. but am getting undefined symbols errors like 32 of them.

**Which iOS Meeting SDK version?**  
I am using v5.7.1.1267.

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to ‘…’
2. Click on ‘…’
3. Scroll down to ‘…’
4. See error

**Screenshots**

 ![Screenshot 2021-08-19 at 5.44.15 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/1/81f23053ca1fc3c0714fd822edf697fd300c8108.jpeg)

**Smartphone (please complete the following information):**

- Device: iPhone SE 2nd gen
- OS: iOS 14

**Additional context**  
Add any other context about the problem here.

---

<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:** [August 19, 2021, 4:33pm UTC](https://devforum.zoom.us/t/getting-undefined-symbols-erros-while-trying-build-and-run-in-ios-device/56075/2 "2021-08-19T16:33:56Z")

</div>

Hey @spraveen,

Thanks for using the dev forum!

Did you have separate targets for the ScreenShare framework and the main framework?  
The screenshare framework should only be put into a broadcast extension.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![spraveen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/spraveen/32/32867_2.png) [@spraveen](https://devforum.zoom.us/u/spraveen)\
**Post date:** [August 19, 2021, 4:49pm UTC](https://devforum.zoom.us/t/getting-undefined-symbols-erros-while-trying-build-and-run-in-ios-device/56075/3 "2021-08-19T16:49:07Z")

</div>

> [@Michael\_Condon](#):
>
> The screenshare framework should only be put into a broadcast extension.

Hey @Michael_Condon thanks for replying I didn’t understand what do you mean by  
“The screenshare framework should only be put into a broadcast extension.”

---

<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:** [August 19, 2021, 7:19pm UTC](https://devforum.zoom.us/t/getting-undefined-symbols-erros-while-trying-build-and-run-in-ios-device/56075/4 "2021-08-19T19:19:05Z")

</div>

Hey @spraveen,

So if you would like to use screensharing in your application you need to create a separate target in your xcode project for it. There are instructions for this here: [https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/screen-share#broadcast-device-screen](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/screen-share#broadcast-device-screen)

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 19, 2021, 5:20am UTC](https://devforum.zoom.us/t/getting-undefined-symbols-erros-while-trying-build-and-run-in-ios-device/56075/5 "2021-09-19T05:20:00Z")

</div>

Closed on September 19, 2021, 5:20am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
