# Ionic 4 - IOS build fails

**URL:** <https://devforum.zoom.us/t/ionic-4-ios-build-fails/8067>\
**Category:** Meeting SDK\
**Created:** [February 14, 2020, 12:48pm UTC](https://devforum.zoom.us/t/ionic-4-ios-build-fails/8067 "2020-02-14T12:48:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![meetings1](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@meetings1](https://devforum.zoom.us/u/meetings1)\
**Post date:** [February 14, 2020, 12:48pm UTC](https://devforum.zoom.us/t/ionic-4-ios-build-fails/8067/1 "2020-02-14T12:48:35Z")

</div>

**IOS build fails**  
We are using Ionic, we are able to successfully archive and export the app. But when we try to build it to a device in Xcode, It fails to build with following errors. Please guide us through this.  
We are using sample code from git ([GitHub - zoom/sample-app-ionic: Zoom Ionic SDK sample app](https://github.com/zoom/sample-app-ionic))

 ![Screenshot 2020-02-14 at 6.10.27 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/274c7e3a6e4d05d915698c3cd63661df33ccb940.png)

**We are using following version**

- Catalina OS (version - 10.15.3)

- Xcode - 11.3

- Ionic version is as follows

---

<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:** [February 15, 2020, 12:49am UTC](https://devforum.zoom.us/t/ionic-4-ios-build-fails/8067/2 "2020-02-15T00:49:13Z")

</div>

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

Thanks for the post and the details. The Ionic SDK has a version that supports iOS simulators and a version that doesn’t. Which one are you using?

Our iOS SDK has 2 versions, and it requires a configuration before publishing the app: [https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/getting-started/integration#5-deployment](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/getting-started/integration#5-deployment).

Based on the error message, the following post might be helpful:

- [https://stackoverflow.com/questions/27568742/issue-with-undefined-symbols-for-architecture-i386](https://stackoverflow.com/questions/27568742/issue-with-undefined-symbols-for-architecture-i386)
- [https://github.com/OneSignal/OneSignal-iOS-SDK/issues/282](https://github.com/OneSignal/OneSignal-iOS-SDK/issues/282)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![meetings1](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@meetings1](https://devforum.zoom.us/u/meetings1)\
**Post date:** [February 17, 2020, 5:24am UTC](https://devforum.zoom.us/t/ionic-4-ios-build-fails/8067/3 "2020-02-17T05:24:02Z")

</div>

We are using SDK without simulator support

---

<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:** [February 19, 2020, 2:15am UTC](https://devforum.zoom.us/t/ionic-4-ios-build-fails/8067/4 "2020-02-19T02:15:29Z")

</div>

Hi [meetings1](https://devforum.zoom.us/t/ionic-4-ios-build-fails/8067/3),

Thanks for the reply. The SDK without simulator support should not have this error. Does configuring the Xcode setting and the solution provided by the Stackoverflow helped?

Thanks!

---

<div class="post-metadata">

**Author:** ![meetings1](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@meetings1](https://devforum.zoom.us/u/meetings1)\
**Post date:** [February 19, 2020, 7:38am UTC](https://devforum.zoom.us/t/ionic-4-ios-build-fails/8067/5 "2020-02-19T07:38:05Z")

</div>

I was able to archive successfully, But if I remove ios plaftform and newly add platform again, and apply mentioned setting in Xcode and build . I get following error **#import mobilertc/mobilertc.h file not found**.

 ![Screenshot 2020-02-19 at 1.16.49 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/215ebe3422157086e067bc64e8657f581b9f89ac.png)

I have tried removing MobileRTC from Embedded Libraries and added framework present in **/plugins/cordova.plugin.zoom/libs/ios/MobileRTC.framework**

Please suggest.

---

<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:** [February 21, 2020, 10:01pm UTC](https://devforum.zoom.us/t/ionic-4-ios-build-fails/8067/6 "2020-02-21T22:01:36Z")

</div>

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

Thanks for the reply and the screenshots. Based on the error message, it seems like the dynamic framework is not correctly imported. Please verify and try to add the MobileRTC.framework here:

 ![070F72D7-A263-46EA-B13D-CD4D6D713279](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/d/da2775eb3600dd2a8c9be80b154dd4dfa3375d09.jpeg)

And also make sure you have imported the MobileRTCResource.

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, 7:27pm UTC](https://devforum.zoom.us/t/ionic-4-ios-build-fails/8067/7 "2020-08-21T19:27:15Z")

</div>


