Storyboard warning description in Xcode

Source: Internet
Author: User

In addition to the code we manually added

We should pay attention to the warning #Waring the mark. Here are some warnings to handle.

1, the method expires, or a new API replacement scheme is used

MultipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:

Use an alternative scenario:

MultipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:error:

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

2,storyboard Unsupported Configuration warnings

storyboard:warning:Unsupported Configuration:plain Style Unsupported in a Navigation Item

The reason is that the buttons on your navigation bar use unsupported style

See

Modify Plain for the 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 having an ID Entifier for runtime access Via-instantiateviewcontrollerwithidentifier:.

The main idea is to dynamically access the scene in the program, you need to set a storyboard ID, so give a warning, workaround: Set a Storyboard ID. (Basically, all the VC of SB clock need to add, can eliminate the warning, here according to their own needs.) But also can check out SB inside useless VC, can kill).

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

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

You must add a reuse flag to SB reed cell. (See requirements here.) )

3) storyboard:warning:Unsupported Configuration:segues initiated directly from view controllers must has an identifier For use with-[uiviewcontroller Performseguewithidentifier:sender:]

The main idea: Segues not set the logo, although there are lines. This can generally be discarded.

or re-add the label combination code:

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

4) Storyboard Frame for "Table View" would be different at run time.

Incomplete constraints result. Carefully modified. 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 is ambiguous for "Add Address View".

Ibid., Merlin two constraints, the Emancipation scheme ibid.

4,storyboard:warning:ambiguous layout:horizontal position is ambiguous for "Scroll View".

The automatic constraint position is ambiguous.

Complete.

5,images.xcassets

1), images.xcassets/: warning:missing content:the file "Credit_card_light.png" for the image set "Credit_card_light" Doe s not exist.

Credit_card_light.png does not exist.

But, clearly exist.

Show Finder.

Text editing, Contents.json. Compare other normal.

Remove the above

"FileName": "Credit_card_light.png"

Fix done.

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

No treatment, Emancipation scheme 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 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. This method will be issued again is an error. **********************

http://bribser.co.jp/blog/unity-xcode-dsymutil-error-warning/

Storyboard warning description in Xcode

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.