# iOS SDK Building for iOS Simulator, but the linked and embedded framework 'MobileRTC.framework' was built for iOS

**URL:** <https://devforum.zoom.us/t/ios-sdk-building-for-ios-simulator-but-the-linked-and-embedded-framework-mobilertc-framework-was-built-for-ios/12171>\
**Category:** iOS\
**Created:** [April 8, 2020, 3:41pm UTC](https://devforum.zoom.us/t/ios-sdk-building-for-ios-simulator-but-the-linked-and-embedded-framework-mobilertc-framework-was-built-for-ios/12171 "2020-04-08T15:41:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lupyana](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lupyana/32/5520_2.png) [@lupyana](https://devforum.zoom.us/u/lupyana)\
**Post date:** [April 8, 2020, 3:41pm UTC](https://devforum.zoom.us/t/ios-sdk-building-for-ios-simulator-but-the-linked-and-embedded-framework-mobilertc-framework-was-built-for-ios/12171/1 "2020-04-08T15:41:25Z")

</div>

**Description**  
I am unable to build my app after adding the sdk to the project. I am getting the following error. Building for iOS Simulator, but the linked and embedded framework ‘MobileRTC.framework’ was built for iOS.

If I remove the sdk from my project, the builds and runs properly. I have aslo tried this on a freshly created project. I face the same issue.

**Which version?**

- Xcode Version 11.4 (11E146)
- SDK v4.6.15805.0403

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

1. Go to Open xcode project
2. In project setting, navigate to the `General` section:
3. Under Frameworks, library and embed content, add MobileRTC.framework
4. Navigate to `Build Phases > Copy Bundle Resources` , and add `MobileRTCResources.bundle`
5. Build app.
6. See error

**Screenshots**  
 ![Screenshot 2020-04-08 at 18.38.00](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/9c77d0ab350acdb954ed80f443f175f9af27b5c1.png)

---

<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 9, 2020, 5:36am UTC](https://devforum.zoom.us/t/ios-sdk-building-for-ios-simulator-but-the-linked-and-embedded-framework-mobilertc-framework-was-built-for-ios/12171/2 "2020-04-09T05:36:37Z")

</div>

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

Thanks for using Zoom SDK. Our iOS SDK has 2 versions, the regular version is for device only. You may find the version that supports both device and simulator for the version you are using here: [https://github.com/zoom/zoom-sdk-ios/releases/tag/v4.6.15805.0403;](https://github.com/zoom/zoom-sdk-ios/releases/tag/v4.6.15805.0403;) Please download the `all` version if you would like to use the simulator.

We offer 2 separate versions because the version that supports simulator is larger and the App Store does not like libraries that include the simulator support. Please use the device only version when you are submitting to the App Store.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![ddev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ddev/32/3406_2.png) [@ddev](https://devforum.zoom.us/u/ddev)\
**Post date:** [May 20, 2020, 8:11pm UTC](https://devforum.zoom.us/t/ios-sdk-building-for-ios-simulator-but-the-linked-and-embedded-framework-mobilertc-framework-was-built-for-ios/12171/3 "2020-05-20T20:11:31Z")

</div>

Link:  
[https://github.com/zoom/zoom-sdk-ios/releases/tag/v4.6.15805.0403](https://github.com/zoom/zoom-sdk-ios/releases/tag/v4.6.15805.0403;)

does not work. Where can we find the version that supports both simulator and device?

Thank you

never mind, I think I found it:

[https://github.com/zoom/zoom-sdk-ios/releases/download/v4.6.21666.0428/ios-mobilertc-all-4.6.21666.0428-n.zip](https://github.com/zoom/zoom-sdk-ios/releases/download/v4.6.21666.0428/ios-mobilertc-all-4.6.21666.0428-n.zip)

---

<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:** [May 21, 2020, 8:24am UTC](https://devforum.zoom.us/t/ios-sdk-building-for-ios-simulator-but-the-linked-and-embedded-framework-mobilertc-framework-was-built-for-ios/12171/4 "2020-05-21T08:24:39Z")

</div>

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

Thanks for using Zoom SDK and glad to hear that the problem has resolved. Yes, our iOS SDK has 2 versions: one for device only and one for device+simulator; If you would like to download the one that supports the simulator, you may find the “all” version in the Github release page.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:40pm UTC](https://devforum.zoom.us/t/ios-sdk-building-for-ios-simulator-but-the-linked-and-embedded-framework-mobilertc-framework-was-built-for-ios/12171/6 "2020-08-21T21:40:07Z")

</div>

Closed on August 21, 2020, 9:40pm UTC


