Recently, there have been more compilation warnings after upgrading the project, which looks annoying. I wanted to fix it, starting with the warning: "Debug warning: Mapping architecture armv7 to i386."
After checking the warning, I found that it was related to the architecture in the Build Settings of the corresponding target. Then I checked the Valid Architectures in the today widget and iwatch widget under the corresponding target, and found that they were inconsistent between Release and Debug. So I manually changed it to $(ARCHS_STANDARD), compiled it, and it was done. Problem solved perfectly.