When you use an old itouch to debug a real machine, xcode cannot recognize it, and xcode of different versions cannot. In the organizer, the system prompts no such file or directory, at '/sourcecache/dvtiosframeworks/DVTiOSFrameworks-5053/dtdevicekitbase/dtdevicekitbase_utilities.m: 8080'
The IOS version of itouch is 5.1.1, And the IOS version of another itouch is 6.0, which can be used normally, later it was found that in/users/Dongzi/library/developer/xcode/IOS devicesupport/5.1.1 (9b206)/symbols/system/library/caches/COM. apple. dyld does not have an existing library file,
In the similar directory,/users/Dongzi/library/developer/xcode/IOS devicesupport/6.0 (10a403)/symbols/system/library/caches/COM. Apple. dyld can see the following file:
Drwxr-XR-x 5 Dongzi staff 170 7 9. drwxr-XR-x 4 Dongzi staff 136 7 9 .. -RW-r -- 1 Dongzi staff 0 7 9 20:53. copied_dyld_shared_cache_armv7-rw-r -- r -- 1 Dongzi staff 0 7 9. processed_dyld_shared_cache_armv7-rw-r -- r -- 1 Dongzi staff 242173366 7 9 dyld_shared_cache_armv7
Now the problem is to try to manually create these files
Run the following command in terminal:
CD/users/Dongzi/library/developer/xcode/IOS devicesupport/5.1.1 (9b206)/symbols/system/library/caches/COM. Apple. dyldtouch. handler. processed_dyld_shared_cache_armv7touch dyld_shared_cache_armv7
Open the organizer of xcode again. There is no error prompt, and xcode can recognize the device normally.