[Ios summary Common Errors crash] Analysis

Source: Internet
Author: User

EXC_BAD_ACCESS. The error is generally caused by automatic release, which is essentially a memory management problem.

SIGABRT. errors are generally caused by Invalid methods or attributes of the object or type.

For example, [NSNull null] length will cause this problem, because this object does not have the length method


App + lib development application:
When the ios release version is generated, if the lib is changed and the app is not changed, it is possible that the generated app is the referenced old lib. We recommend that you add a space somewhere in the app code and re-compile the app, the generated app references the latest lib;
In the debug or Simulator version, you need to delete the original production file, otherwise there will be old app and old lib;

Xcode symbol not found

The index file of the Project is corrupted ~ /Library/Developer/Xcode/DerivedData: Delete the folder of the project.

 

 

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.