Process Xcode warnings and xcode warnings

Source: Internet
Author: User
Tags unsupported

Process Xcode warnings and xcode warnings

Besides

# We Should Pay Attention to warnings generated by Waring labels. Below are some warnings.

1. The method expires or a new api replacement solution is used.

MultipartFormRequestWithMethod: URLString: parameters: constructingBodyWithBlock:

Alternative solution:

MultipartFormRequestWithMethod: URLString: parameters: constructingBodyWithBlock: error:

Http://cocoadocs.org/docsets/AFNetworking/2.1.0/Classes/AFHTTPRequestSerializer.html

2. Configuration warnings not supported by storyboard

Storyboard: warning: Unsupported Configuration: Plain Style unsupported in a Navigation Item

The reason is that the buttons in your navigation bar use unsupported style see.

Modify Plain to Done fix waring.

Http://stackoverflow.com/questions/10945859/plain-style-unsupported-in-a-navigation-item-warning-with-my-customized-bar-bu

 

3,

1) storyboard: warning: Unsupported Configuration: Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via-instantiateViewControllerWithIdentifier :.

To dynamically access Scene in the program, you need to set a Storyboard ID for it, so a warning is given. Solution: Set a Storyboard ID. (basically, all the vc of sb clock needs to be added to eliminate the warning. Here, based on your needs. But it can also detect useless VC in sb, which can be killed ).

Http://blog.csdn.net/freedom2028/article/details/8589375

 

2) storyboard: warning: Unsupported Configuration: Prototype table cells must have reuse identifiers

You must add reuse labels to the sb Reid cell. (The requirement is described here .)

 

3) storyboard: warning: Unsupported Configuration: Segues initiated directly from view controllers must have an identifier for use with-[UIViewController extends mseguewithidentifier: sender:]

The ID is not set for segues, although there is a line. This type can generally be discarded.

Or re-Add the tag with the code ..

Http://stackoverflow.com/questions/24087250/segue-identifier-error

 

4) storyboard Frame for "Table View" will be different at run time.

Incomplete constraints. Modify with caution. It may be required in the code.

Http://stackoverflow.com/questions/18739572/xcode-5-layout-errors-misplaced-view-frame-for-label-will-be-different-at-runt

 

5) storyboard: warning: Ambiguous Layout: Size and vertical position are ambiguous for "Add Address View ".

Same as above, the liberation plan is the same as above.

 

4. storyboard: warning: Ambiguous Layout: Horizontal position is ambiguous for "Scroll View ".

The automatic constraint location is unclear.

Complete.

 

5, Images. xcassets

1), Images. xcassets/: warning: Missing Content: The file "credit_card_light.png" for the image set "credit_card_light" does not exist.

Credit_card_light.png does not exist.

But, obviously exist.

Show finder.

Text editing, Contents. json.

Delete

"Filename": "credit_card_light.png"

Fix done.

2), Images. xcassets: An iPhone Retina (4-inch) launch image for iOS 7.0 and later is required.

Not processed yet. Release solution reference

Http://stackoverflow.com/questions/19732975/adding-ios-7-version-of-iphone-4-inch-launch-image-to-project-breaks-launch-imag

 

6. Apple Mach-O Linker Warning

1) Directory not found for option "-L path"

Try the project (target)-> build settings-> search path

And clear it.

Http://stackoverflow.com/questions/16644982/apple-mach-o-linker-warning-directory-not-found

2) Apple Mach-O linker Warning: lgnoring file...

Http://stackoverflow.com/questions/10535678/apple-mach-o-linker-warning

3), dsymutil warning (armv7 )...... . O unable to open object file

 DWARF with dSYM file

Set to DWARF

Fix done. If this method is used, an error is returned. **********************

 

Forward to: http://www.cnblogs.com/tangbinblog/p/3945518.html

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.