zoukankan      html  css  js  c++  java
  • ITouch在xcode下提示‘No such file or directory, at ‘/SourceCache/DVTi...'

    版权声明:本文为博主原创文章,转载或又一次发表请先与我联系。

    https://blog.csdn.net/jonahzheng/article/details/37692733

          用一个台老ITouch进行真机调试时。xcode无法认到,换不同版本号的xcode也不行,且在organizer中提示No such file or directory, at ‘/SourceCache/DVTiOSFrameworks/DVTiOSFrameworks-5053/DTDeviceKitBase/DTDeviceKitBase_Utilities.m:1572’

         出问题 ITouch的IOS版本号是5.1.1,而另外一台ITouch的IOS版本号为6.0,能正常使用,后来发现是在/Users/dongzi/Library/Developer/Xcode/iOS DeviceSupport/5.1.1 (9B206)/Symbols/System/Library/Caches/com.apple.dyld没有现有的库文件,

         而在类似文件夹中/Users/dongzi/Library/Developer/Xcode/iOS DeviceSupport/6.0 (10A403)/Symbols/System/Library/Caches/com.apple.dyld看到以下文件

    drwxr-xr-x  5 dongzi  staff        170  7  9 20:53 .
    drwxr-xr-x  4 dongzi  staff        136  7  9 20:53 ..
    -rw-r--r--  1 dongzi  staff          0  7  9 20:53 .copied_dyld_shared_cache_armv7
    -rw-r--r--  1 dongzi  staff          0  7  9 20:53 .processed_dyld_shared_cache_armv7
    -rw-r--r--  1 dongzi  staff  242173366  7  9 20:53 dyld_shared_cache_armv7

    如今问题就是尝试手动创建这个几个文件

    在terminal中运行以下的命令

    cd /Users/dongzi/Library/Developer/Xcode/iOS DeviceSupport/5.1.1 (9B206)/Symbols/System/Library/Caches/com.apple.dyld
    touch .copied_dyld_shared_cache_armv7
    touch .processed_dyld_shared_cache_armv7
    touch dyld_shared_cache_armv7

    再次打开xcode的organizer,不在有错误提示了。且xcode能正常认到设备了

查看全文
  • 相关阅读:
    ORA00845 MEMORY_TARGET not supported on this system (oracle11g for asianux3 )
    文件处理命令
    网络通信
    Chapter05Usage and Configuration of the Oracle Shared Server
    压缩解压缩命令
    PAT 1088 Rational Arithmetic[模拟分数的加减乘除][难]
    知识点最小二乘学习与正规表达式
    Missing Number[回溯][难]
    PAT 1065 A+B and C[大数运算][溢出]
    PAT 1055 The World's Richest[排序][如何不超时]
  • 原文地址:https://www.cnblogs.com/ldxsuanfa/p/10779056.html
  • Copyright © 2011-2022 走看看