Reputation: 620
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!
Upvotes: 0
Views: 859
Reputation: 620
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.
Upvotes: 0
Reputation: 122
I suspect you see that because you have edited it in the past and are looking at "Basic". You can just set it to the same as the default and you'll be fine but if you want it to behave like the other projects and be default, you can edit project.pbxproj and just delete all the lines for VALID_ARCHS
then make sure you're looking at "Basic" as it is always shown under "All"
Upvotes: 0