Jailbroken iPhone 3G with iOS 4.2.1 can't be debugged with XCode

前端 未结 6 1675
难免孤独
难免孤独 2020-12-17 05:36

I\'m trying to debug my applications with XCode 3.2.5 and jailbroken iPhone 3G with iOS 4.2.1.

When I start debug with enabled breakpoints, applicat

6条回答
  •  情书的邮戳
    2020-12-17 06:02

    In order to get rid of (Re)Collecting Debug Symbols in Organizer (which in fact does nothing) each time the iPhone is presented to the XCode, a simple workaround is to copy:

    DeveloperDiskImage.dmg and DeveloperDiskImage.dmg.signature

    from the 4.2 (8C134) to the empty 4.2.1 (8C148) folder.

    The XCode will recognize device and you'll be able to debug your code, but without debug symbols for the IOS framework. But, the gdb console will be alive and you can use it do debug your code (with debug symbols).

    Btw. you can always use Simulator for the full IOS support :-)

提交回复
热议问题