Recently i was working on a project (macOs application) for intel chip based for Latest macOS.
My working environment:
Xcode: Version 13.4.1 (13F100)
Mac OS: Monterey Version: 12.5 (21G72) Chip: Intel
The problem i am having is my code runs from Xcode without any issue. But when i try to archive it fails to create archive with an error because it has many codes that only run on intel based mac os and it's trying to create a universal app for both intel chip as well as apple with standard architecture.
So my question is how i can change the build Architecture for my project in order to run on apple MacOs based On intel Chip only?
I know it can be changed from the "Build setting -> Architectures" but i could not find what to change.