# Xcframework does not contain arm64

**URL:** <https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450>\
**Category:** iOS\
**Created:** [April 7, 2021, 3:45pm UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450 "2021-04-07T15:45:50Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucas](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lucas/32/8286_2.png) [@lucas](https://devforum.zoom.us/u/lucas)\
**Post date:** [April 7, 2021, 3:45pm UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450/1 "2021-04-07T15:45:51Z")

</div>

I am elated to see xcframework being used! Thank you for that!

I am building and running in simulator on a M1 Mac. I get the following warning on build.

`ld: warning: ignoring file /Users/*/Library/Developer/Xcode/DerivedData/*/Build/Products/Debug-iphonesimulator/MobileRTC.framework/MobileRTC, missing required architecture arm64 in file /Users/*/Library/Developer/Xcode/DerivedData/*/Build/Products/Debug-iphonesimulator/MobileRTC.framework/MobileRTC (2 slices)`

It works fine building for device.

Any advice?

---

<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:** [April 7, 2021, 7:42pm UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450/2 "2021-04-07T19:42:03Z")

</div>

Hey @lucas,

Thanks for using the dev forum!

I only have a pre-M1 mac that has been able to run the simulator. So I am suspecting that this may be related to the new M1 chips. What Xcode version are you using?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lucas](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lucas/32/8286_2.png) [@lucas](https://devforum.zoom.us/u/lucas)\
**Post date:** [April 7, 2021, 8:00pm UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450/3 "2021-04-07T20:00:11Z")

</div>

I am using Xcode 12.4

---

<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:** [April 8, 2021, 5:07pm UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450/4 "2021-04-08T17:07:07Z")

</div>

Hey Lucas,

Gotcha, lemme double-check with the engineers about this one.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lucas](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lucas/32/8286_2.png) [@lucas](https://devforum.zoom.us/u/lucas)\
**Post date:** [April 20, 2021, 6:09pm UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450/5 "2021-04-20T18:09:54Z")

</div>

Any news? This was the main reason for xcframework.

---

<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:** [April 20, 2021, 6:16pm UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450/6 "2021-04-20T18:16:08Z")

</div>

Hey @lucas,

I still have not heard news about this yet.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![usman.awan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/usman.awan/32/27694_2.png) [@usman.awan](https://devforum.zoom.us/u/usman.awan)\
**Post date:** [April 26, 2021, 9:44am UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450/7 "2021-04-26T09:44:07Z")

</div>

@lucas I have resolved this issue by adding the `MobileRTC.framework` in Exclude Architecture \> Debug \> Any iOS Simulator SDK \> (you will add the path of where you have placed the MobileRTC.framework)

---

<div class="post-metadata">

**Author:** ![lucas](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lucas/32/8286_2.png) [@lucas](https://devforum.zoom.us/u/lucas)\
**Post date:** [April 26, 2021, 3:49pm UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450/8 "2021-04-26T15:49:04Z")

</div>

@usman.awan I don’t think we are working toward the same end. Why would I want to exclude it?

@Michael_Condon To add to info on this. I noticed `lipo` does report arm64 in the fat ios-armv7\_arm64, so I am not sure why Xcode doesn’t like it. Tho I will point out, I do not understand why you put 2 fats in there instead of 4 thins.

---

<div class="post-metadata">

**Author:** ![usman.awan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/usman.awan/32/27694_2.png) [@usman.awan](https://devforum.zoom.us/u/usman.awan)\
**Post date:** [April 27, 2021, 7:15am UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450/9 "2021-04-27T07:15:27Z")

</div>

@lucas You are probably right. The reason for excluding the MobileRTC.framework is because on M1 mac the simulator runs on the native arm and as of now MobileRTC.framework is not currently supported M1 arm.

cc: @Michael_Condon

---

<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:** [April 27, 2021, 6:38pm UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450/10 "2021-04-27T18:38:41Z")

</div>

Hey @lucas,

> [@lucas](#):
>
> I do not understand why you put 2 fats in there instead of 4 thins.

I believe this is just because it was a smaller degree of change as they already had the 2 fats created. Not to say that 2 fats was the right way to go.

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:** [May 28, 2021, 4:38am UTC](https://devforum.zoom.us/t/xcframework-does-not-contain-arm64/47450/11 "2021-05-28T04:38:52Z")

</div>

Closed on May 28, 2021, 4:38am UTC

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