My development environment is: macOS 11.3.1, Xcode 12.5.1, CocoaPods 1.9.3
My problem is that in my project's TAEGETS, it shows the field VALID_ARCHS and I can't delete it. But it is not there in PROJECT.
I can't find the field in the corresponding project.pbxproj either, so now I don't know how to remove it.
When I create a new project and the field is not in TAEGETS or PROJECT, I can create a new project and move all my files over. But I don't want to take this approach if I don't have to.
Is there any other way to solve my problem? Thanks in advance!
I eventually found out why: it was introduced through some pod.
I created a new project and reintroduced my pods one by one until I couldn't compile the project in the emulator, and eventually I found the faulty pod.