Display of IOS suppression warnings

Source: Internet
Author: User

In multi-person development, Ken can see a partner put unused variables, parameters in the code, or there is no implementation of the Protocol, or the use of outdated methods (common is text alignment, segmentation mode, etc.)

Fortunately Xcode is a very human application, you can put the general warning suppress does not show, the method is as follows two steps:

1. Select Project---> Click project---> SELECT build Setting---> enter Warning---in the search input box > know the Warning policy (Apple LLVM 5.1-warning Policies)---> set inhibit all warning to Yes

2. Select Project---> Click targets---> SELECT build Setting---> enter Warning in the Search input box---> Know the warning policy (Apple LLVM 5.1-warning Policies)---> set inhibit all warning to Yes

When this is set, the unsightly warning disappears, and if it doesn't disappear, it will only show more important warnings.

Display of IOS suppression warnings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.