6

I save the files as .txt files using the following code:

    FILE* file;
    file = NULL;
    const char *filename = [newFilePath UTF8String];
    file = fopen(filename, "wb");

However, when I download them from the Sandbox in Organizer, a error occurred:

Xcode has encountered an unexpected error (0xC011) File exists, at ‘/SourceCache/DVTiOSFrameworks/DVTiOSFrameworks-5053/DTDeviceKitBase/DTDKApplication.m:1340’

Then only a small portion of files are downloaded.

Any one knows why and how to solve this problem?

  • I see the error say "File exists". Is this root cause? – nmh May 21 '14 at 01:27
  • That's my first thought too. However, I was not able to find that root in the Mac. @nmh – user3593888 May 21 '14 at 13:41
  • 1
    I get this using XCode6/iOS8 as well, though the "file exists" error/line number has changed: `File exists, at '/SourceCache/DVTiOSFrameworks/DVTiOSFrameworks-6254/DTDeviceKitBase/DTDKApplication.m:1505'` – Scott Corscadden Sep 26 '14 at 13:02
  • I just started getting the same issue as well: `File exists, at ‘/SourceCache/DVTiOSFrameworks/DVTiOSFrameworks-6272/DTDeviceKitBase/DTDKApplication.m:1505’` – tboyce12 Dec 15 '14 at 19:17
  • Bump...anyone have any insight into this? I'm seeing it in Xcode 6 at line 1505 as well. – iOS4Life Sep 30 '15 at 14:25

0 Answers0