# Errors building project after embedding MobileRTCScreenshare.framework

**URL:** <https://devforum.zoom.us/t/errors-building-project-after-embedding-mobilertcscreenshare-framework/38995>\
**Category:** iOS\
**Created:** [December 22, 2020, 2:50pm UTC](https://devforum.zoom.us/t/errors-building-project-after-embedding-mobilertcscreenshare-framework/38995 "2020-12-22T14:50:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![luna.salesforce](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@luna.salesforce](https://devforum.zoom.us/u/luna.salesforce)\
**Post date:** [December 22, 2020, 2:50pm UTC](https://devforum.zoom.us/t/errors-building-project-after-embedding-mobilertcscreenshare-framework/38995/1 "2020-12-22T14:50:04Z")

</div>

**Description**  
MobileRTCScreenshare.framework produces 56+ errors preventing me from building the app

Undefined symbols for architecture arm64:  
“typeinfo for std::\_\_1::ios\_base”, referenced from:  
l878 in MobileRTCScreenShare  
“vtable for \_\_cxxabiv1::\_\_class\_type\_info”, referenced from:  
l869 in MobileRTCScreenShare  
l865 in MobileRTCScreenShare  
l868 in MobileRTCScreenShare  
l885 in MobileRTCScreenShare  
l889 in MobileRTCScreenShare  
l885 in MobileRTCScreenShare  
l889 in MobileRTCScreenShare  
…and so on…

**Which version?**  
v5.2.42037.1112

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

1. On the newly added **Broadcast Upload Extension** , drag the MobileRTCScreenshare.framework to the “Frameworks and Libraries” and change to “Do not embed” then try to build the project

btw I already added the “MobileRTC.framework” on the main project and it works perfectly fine (can join and create meetings etc). The problem shows when I try to implement the screenshare feature

This is a Swift project

**Screenshots**

 ![screenshare](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/0/409ca5143df693acd6775aa0d78fdda2170b92da.jpeg)

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

- Device: iPhone 12 Pro
- OS: iOS 14.3
- Version ???  
it doesnt matter coz the project doest actually build because of the errors

---

<div class="post-metadata">

**Author:** ![luna.salesforce](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@luna.salesforce](https://devforum.zoom.us/u/luna.salesforce)\
**Post date:** [December 22, 2020, 2:52pm UTC](https://devforum.zoom.us/t/errors-building-project-after-embedding-mobilertcscreenshare-framework/38995/2 "2020-12-22T14:52:42Z")

</div>

![screenshareerror](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/d/3d62d0d716311a88f8b6d4b8618ee07b57da7d76.png)

this is the error produced

---

<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:** [December 23, 2020, 9:29pm UTC](https://devforum.zoom.us/t/errors-building-project-after-embedding-mobilertcscreenshare-framework/38995/3 "2020-12-23T21:29:04Z")

</div>

Hey @luna.salesforce,

Thanks for using the dev forum!

The screen share framework relies on some C++ libraries. If you are using Swift, you need to add a linker flag to your build settings to be able to link the C++ libraries.

Navigate to your project file -\> Build Settings -\> Search for “Other linker flags” -\> Add “-lc++”

 ![Screen Shot 2020-12-23 at 2.28.35 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/4/748b65a3b5b918897e561bd0ca8c880dd49306d0.png)

Let me know if that works.  
Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![luna.salesforce](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@luna.salesforce](https://devforum.zoom.us/u/luna.salesforce)\
**Post date:** [December 24, 2020, 4:14am UTC](https://devforum.zoom.us/t/errors-building-project-after-embedding-mobilertcscreenshare-framework/38995/4 "2020-12-24T04:14:59Z")

</div>

> [@Michael\_Condon](#):
>
> -lc++

Hmm weird that this step is nowhere in the instructions… but this solved it! Thank you so much! Have a great day and Merry Christmas!

---

<div class="post-metadata">

**Author:** ![luna.salesforce](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@luna.salesforce](https://devforum.zoom.us/u/luna.salesforce)\
**Post date:** [December 24, 2020, 4:23am UTC](https://devforum.zoom.us/t/errors-building-project-after-embedding-mobilertcscreenshare-framework/38995/5 "2020-12-24T04:23:00Z")

</div>

oops sorry it was written in the later part of the tutorial… my bad!

---

<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:** [December 28, 2020, 11:39pm UTC](https://devforum.zoom.us/t/errors-building-project-after-embedding-mobilertcscreenshare-framework/38995/8 "2020-12-28T23:39:09Z")

</div>

Hey @luna.salesforce,

No need to apologize! I am glad to hear that it is working now 🙂  
Merry Christmas to you too!

Thanks!  
Michael
