My problem is solved:
1 main project:
Switch to the "Build Settings" tab.
Find the "Architectures" and "Valid Architectures" settings and make sure x86_64 has been removed.
Add x86_64 to "Excluded Architectures" to ensure Xcode doesn't try to compile for this architecture.
2 Pods project:
To be in Podfile:
config.build_settings['VALID_ARCHS[sdk=iphonesimulator*]'] = 'arm64e arm64'
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'x86_64'
3 The most important:
When facing xcode, remember to clear DerivedData. This is the most very very very important thing.
Post
Replies
Boosts
Views
Activity
I have the same issue too....
me too