IOS -- warning

Source: Internet
Author: User

Handling warning:

1. Validate Project Settings (update to Recommended settings)

A:

2, 'xxxxxxx' is deprecated: First deprecated in IOS 5.0
A: The xxxxxxx method is not supported in IOS.

3, incomplete Implemention

A: The. M file does not implement the proxy method or the method declared in. h.

I:

1: directory not found for Option '-F/applications/xcode. APP/contents/developer/library/frameworks'

A: Project (targets) --> build
Settings --> Library
Search paths --> Delete the entered path

2: property's
Synthesized getter follows cocoa naming convention for returning 'owners' objects

A: The attribute names starting with "new" "copy" cannot be used.

3: char * name [3] = {"A", "B", "C"}; Conversion from string literal to 'Char * 'is deprecated

A: change it to const char * name [3] = {"A", "B", "C "};

4: Implicit declaration of function 'sysctlbyname' is invalid in c99

A: Project (targets) --> build
Settings --> C language dialect ---> gnu89 [-STD = gnu89]

5: Warning: no rule to process file "XXXXXXXXX" of Type sourcecode. C. h for architecture i386

A: Project (targets) --> build phases --> compile sources --
. H File deleted

6: regexkitlite. m warning

 [[NSAssertionHandler currentHandler] handleFailureInFunction:functionString file:fileString lineNumber:(NSInteger)[lineNumber longValue] description:descriptionString];

A: [nsassertionhandler
Currenthandler]
Handlefailureinfunction: functionstring
File: filestring
Linenumber nsinteger) [linenumber
Longvalue]
Description: @ "% @", descriptionstring];

7: Warning: Unexpected dylib (......) on link line

A: Project (targets) --> build phases --> link binary
With libraries -- delete the warning class library

Related Article

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.