# Swift missing architecture :(

**URL:** <https://ifnotnil.com/t/swift-missing-architecture/2456>\
**Category:** Other\
**Created:** [24 April 2022 21:12 UTC](https://ifnotnil.com/t/swift-missing-architecture/2456 "2022-04-24T21:12:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveS](https://ifnotnil.com/user_avatar/ifnotnil.com/daves/32/79_2.png) [@DaveS](https://ifnotnil.com/u/DaveS)\
**Post date:** [24 April 2022 21:12 UTC](https://ifnotnil.com/t/swift-missing-architecture/2456/1 "2022-04-24T21:12:58Z")

</div>

recently got an M1 Studio…  
For Xcode I have a huge “framework” I wrote (and just recompiled)

But when I attempt to use add it to a new project I get this error

```auto
.xcodeproj The linked and embedded framework 'DSFramework.framework' is missing one or more architectures required by this target: arm64.

```

Spent hours trying to find the answer  
The only answer… add arm64 to list of EXCLUDED (well I want to INCLUDE not exclude, as in “universal”)

build setting for both the frame work, and project is

```auto
Standard Architectures (Apple Silicon,Int) - $(ARCHS_STANDARD)

```

---

<div class="post-metadata">

**Author:** ![DaveS](https://ifnotnil.com/user_avatar/ifnotnil.com/daves/32/79_2.png) [@DaveS](https://ifnotnil.com/u/DaveS)\
**Post date:** [24 April 2022 21:43 UTC](https://ifnotnil.com/t/swift-missing-architecture/2456/2 "2022-04-24T21:43:27Z")

</div>

Seems it did include it all…

Turns out on an M1 machine Xcode gives you TWO options to run in the IDE

1. My Mac
2. My Mac (Rosetta)

#1 runs as ARM64, #2 runs as X64

For BUILD it will create a universal for deployment
