开发者

Lost my iOS 5 debug symbols. How do I get them back?

开发者 https://www.devze.com 2023-04-12 20:27 出处:网络
I just upgraded Xcode to the latest (4.2 (4C199)) and my iPhone to iOS 5(9A334). I\'m using Snow Leopard. While debugging, I noticed I don\'t get any information with my stack trace. It\'s just a list

I just upgraded Xcode to the latest (4.2 (4C199)) and my iPhone to iOS 5(9A334). I'm using Snow Leopard. While debugging, I noticed I don't get any information with my stack trace. It's just a list of addresses, there's no class or method information.

I figured maybe it was switching to LLDB, so I switched back to GDB. Nope, still a problem.

I hooked up an iPad running iOS 5, but a different version, one of the betas (9A5313e), and still an issue.

Then I hooked up an iPad 2 running iOS 4.3.5. Bam! A useful stack trace. So I went looking into the bowels of the /Developer folder, specifically into /Developer/开发者_JAVA百科Platforms/iPhoneOS.platform/DeviceSupport, like links on Google told me to, but the things I've tried aren't working.

How do I get symbols so my stack traces work in iOS 5?


This question deals with the same issue and has a straightforward workaround.

Apple seems to still have some issues to iron out with the latest XCode / iOS 5 combination.


Are you sure you are running the App from xCode in debug mode and not in a different configuration (release) ?

Go to Product-->Edit Scheme and verify the configuration for Run and Archive! Make sure it's not set to "Release"

0

精彩评论

暂无评论...
验证码 换一张
取 消