IOS Crash positioning

Source: Internet
Author: User

I use Symbolicatecrash to do crash file symbols when found that no effect, try to use Atos for crash file to sign. Special record use process.

Documents Required for Prerequisites:

The Appname.app.dSYM is in the package that was packaged in Xcode archive.

1, search the Xx.crash file in the last Exception backtrace: Find the project corresponding record

You can see two addresses at this point:

0x0000000101250000  is the loading address of the module
0x0000000101488a10  is the address where crash occurs

2. Use Atos to sign

Atos Command format

Atos [-O appname.app/appname] [-l loadaddress] [-arch architecture]

To use the command:

$ xcrun atos-arch arm64-o./appname.app.dsym/contents/resources/dwarf/appname-l 0x0000000101250000  0x0000000101488a10

Or

$ xcrun atos-arch arm64-o/xx-l 0x0000000101250000  0x0000000101488a10

Annotations:

1, arm64 is the type of architecture: arm64, ARMv7
2, the above XX and Appname.app.dsym/contents/resources/dwarf/appname is the same file, but manually copied out

Tip If you can't use armv7, try using arm64

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.