Solutions:
Bulid Settings->Architectures->Excluded Architectures->Debug->Any iOS Simultator SDK arm64
If the project also introduces Cocospod. You also need to configure
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
Copy the code
The solution from: stackoverflow.com/questions/6…