i want to ignore these warnings these warning appeared when i used valid architechtures : arm64 armv7 armv7s
If you go to the log navigator (the last tab on the left panel in Xcode), you can expand the "transcripts" (see View and filter logs and reports). Once you find the one that shows the build warnings, you can see what the precise -W
code for each is, and then suppress it via your #pragma
.
Thus, in your revised question, you show us the -W
code in question is -Wobjc-property-no-attribute
. Thus you could do:
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-property-no-attribute"
...
#pragma clang diagnostic pop