Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7722683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:14:46+00:00 2026-06-01T04:14:46+00:00

I have this jailbroken iPhone 3G with iOS version 4.2.1 (the latest supported version).

  • 0

I have this jailbroken iPhone 3G with iOS version 4.2.1 (the latest supported version). When I connect it to Xcode 4.2, Xcode starts copying the debug symbols. It stops copying towards the end of the process, and shows the following error:

Xcode has encountered an unexpected error (0xC002)
No such file or directory, at ‘/SourceCache/DTDeviceKit/DTDeviceKit-867/DTDeviceKit/DTDeviceKit_Utilities.m:864’

Anybody experiencing anything similar?

I know I should try and restore the phone, but I’m asking just in case anybody can come up with a solution that doesn’t involve restoring it.

In this post on mactechnews.de, one guy reports the same problem — with no solution, so far.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T04:14:48+00:00Added an answer on June 1, 2026 at 4:14 am

    Alright, after a lot of testing and digging up the filesystem… I solved it.
    It turns out that there are just a few files that are not downloaded from the device (for reasons still unknown). They are related to the dyld cache (don’t really know what this is and what it’s for). Here are the steps to make your 4.2.1 device debuggable in XCode 4.2 and 4.3.x:

    1. Close Xcode
    2. Go to: ~/Library/Developer/Xcode/iOS DeviceSupport/4.2.1 (8C148)/Symbols/System/Library/Caches/com.apple.dyld/
      Note: if you don’t have this folder, run Xcode, connect your device, and wait until the error 0xC002 appears in Organizer – the folder should be created by that time.
    3. Create 3 empty files there called:
      • .copied_dyld_shared_cache_armv6
      • .processed_dyld_shared_cache_armv6
      • dyld_shared_cache_armv6
    4. Run Xcode and enjoy the light next to your device eventually go green:)

    Or, for the terminal lovers:

    cd ~/Library/Developer/Xcode/iOS\ DeviceSupport/4.2.1\ \(8C148\)/Symbols/System/Library/Caches/com.apple.dyld/
    touch .copied_dyld_shared_cache_armv6
    touch .processed_dyld_shared_cache_armv6
    touch dyld_shared_cache_armv6
    

    This is obviously a hack but it works perfectly for debugging and I haven’t noticed any side-effects so far.

    Enjoy!

    Small update:

    I tested it on my snow leopard hackintosh, with the Xcode 4.2 (most recent to date) and although the device is active in the organizer and it is possible to run the app on the device, i get black screen on launch. It gets installed but apparently debugger cannot get attached. I had the same problem with 4.0.2, when the 0xC002 problem didn’t yet occur so I think it’s unrelated and might even not happen to others. Nevertheless, 0xC002 is still solved.
    On my main development machine with Lion and Xcode 4.3.2, device is perfectly debuggable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jailbroken Iphone 4 running iOS 5.0.1 and I'm trying to send
I have a jailbroken iPhone 4 running iOS 4.3.3 upon which I want to
I have iPhone 4 with iOS 4.3.2 not jailbroken. I want to upgrade my
have this layout css: <?xml version=1.0 encoding=utf-8?> <ScrollView xmlns:android=http://schemas.android.com/apk/res/android android:id=@+id/ScrollView01 android:layout_width=wrap_content android:layout_height=wrap_content android:scrollbars=vertical> <LinearLayout
Is there any way in the iPhone SDK (not a jailbroken API, this needs
I have had great success with running perl on my jailbroken iPhone 4: http://coredev.nl/
I have jailbroken iPhone. I want to test my applications on my real iPhone
Have this query: SELECT HOUR( DATE ) AS hr, COUNT( * ) AS cnt
Have this self-made slider: http://jsfiddle.net/wyc3P/4/ What it does: takes min and max values in
I have this array in PHP: array( [0] => array( 'username' => 'user1' )

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.