IOS Xcode Engineering Warning handling

Source: Internet
Author: User

Today the boss said, group ~ your warning?? Quite a lot of ... I clapped chest, next week the project summary time will certainly be perfect solves!!!

So I have to get all the warnings out of the project, come on??。 (Remove the warning to prevent potential problems, not just the boss let me deal with it, I deal with it?? )

The warnings in your project are as follows:

(1) An instance variable was created but not used ... Delete without using it??

(2) #warning reminders to be deleted after the processing of their own reserved??

(3) Integer int nsinteger type short integer long integer return value may occur warning, do you want to keep consistent use in your project??

(4) The accuracy of warning handling warnings may exist in comments??

(5) Engineering level some optimization advisory warnings, as prompted, on-demand processing??

(6) Pod third-party framework warning ignore processing??

Summarize:

1. Ensure that the project part of the warning to be addressed from a technical point of view

2.pod part: (1) inhibit_all_warnings! eg

Platform:ios, ' 9.0 '

inhibit_all_warnings!

(2) Project in Build setting documentation comments Set No resolve remaining comments in the report warning

Reference

1.54964956

IOS Xcode Engineering Warning handling

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.