简体   繁体   中英

How to ensure iphone app crash logs can be symbolocated?

I have a niggling issue in an app I'm developing; it's not in the app store, however I can see the crash logs from the Organizer when I plug in my iPhone.

The problem is that the crash logs do not symbolocate. I can see a .dSYM file in my build/Debug-iphoneos directory from the last time I installed the app on my phone, however I can't figure out how to make it work.

I've consulted this technote , however it doesn't really say what to do, simply that the organizer "must have the .dSYM and application binary that produced the crash report."

How do I make it "have" these things? They appear to be sitting around on my hard drive, but it doesn't recognize them. Is there a more clear step-by-step process to making this work?

If you Build And Archive every time you're ready to send something out, you'll always have the dSYM file.

If you don't Build And Archive, you can instead right/control-click on your .app file in the Products group in Xcode and choose Reveal In Finder . The folder revealed will contain both the .app and the .app.dSYM files. You'll need to copy the .dSYM file somewhere else because it will be replaced on the next build.

Build And Archive is your better bet, as everything is taken care of for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM