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

前端 未结 6 1661
难免孤独
难免孤独 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:08

    Jailbroken 3GS / 4.2.1

    I tried Matthew Frederick's recommendation without success. Anyone happened to find a solution to this problem?


    EDIT

    Please note that I used a jailbroken 3GS and a non-jailbroken 3GS. Workaround, requires a non-jailbroken iPhone 3GS with 4.2.1 (8C148a):

    1. Delete /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148a)
    2. Connect the non-jailbroken iPhone 3GS with 4.2.1 (8C148a)
    3. Open Xcode and Organizer
    4. Configure the new iPhone for development by clicking the "Use for development" button in the Organizer.
    5. Let it extract the debugging symbols from it recreating /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148a)
    6. Unplug it, remove from Organizer

    At this point you can debug your jailbroken iPhone again. Cheers!

提交回复
热议问题