IOS: Compile-time errors, hope can help

Source: Internet
Author: User

1, "Std::ios_base::init::~init ()", referenced from

Answer 1: If such a compilation problem occurs, it is necessary to add libstdc++.dylib and libstdc++.6.dylib (for 6.1 use)

2. Apple Mach-o Linker Error

Answer 2: Usually because compile source has the same. m file

3. If the failed to get the task for process occurs when testing in a real machine,

Answer 3: There may be a problem with the certificate.

4. If there is an error expect a type.

Answer 4: A circular reference may appear in the. h file

5, this will be reported linker command failed with exit code 1 (use-vto see invocation) This error.

Answer 5: You cannot have at the same time two same. m files in the compilation

Note: Most of the errors can be answered according to the above answer, for reference only. Thank you!!

Feel good on the top bar ...

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.