The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture.

Hello, I am using OSx 12.2 and XCode 13.2.1. I have a C++ project which compiles and rund correctly correctly.

However, when I go to Product-> Profile, I get the error "The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture." and "Build Failed".

I have looked online for solutions to this problem, but none of them works. Please find attached a screenshot of what I see if I look for 'ARCHS' in build settings, as indicated in the posts which I looked up on the web.

Thanks!

The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture.
 
 
Q