Categories: 技术原创

解决iOS真机调试 Reason: no suitable image found. Crash

此问题主要在更新证书和profile后出现,清理缓存即可

终端执行如下命令


1
2
3
<span class="pln">rm </span><span class="pun">-</span><span class="pln">rf </span><span class="str">"$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"</span><span class="pln">
rm </span><span class="pun">-</span><span class="pln">rf </span><span class="pun">~</span><span class="str">/Library/</span><span class="typ">Developer</span><span class="pun">/</span><span class="typ">Xcode</span><span class="pun">/</span><span class="typ">DerivedData</span><span class="pln">
rm </span><span class="pun">-</span><span class="pln">rf </span><span class="pun">~</span><span class="str">/Library/</span><span class="typ">Caches</span><span class="pun">/</span><span class="pln">com</span><span class="pun">.</span><span class="pln">apple</span><span class="pun">.</span><span class="pln">dt</span><span class="pun">.</span><span class="typ">Xcode</span>
龚杰洪

Recent Posts

GOLANG面试八股文-并发控制

背景 协程A执行过程中需要创建…

1 年 ago

MYSQL面试八股文-常见面试问题和答案整理二

索引B+树的理解和坑 MYSQ…

1 年 ago

MYSQL面试八股文-InnoDB的MVCC实现机制

背景 什么是MVCC? MVC…

1 年 ago

MYSQL面试八股文-索引类型和使用相关总结

什么是索引? 索引是一种用于加…

1 年 ago

MYSQL面试八股文-索引优化之全文索引(解决文本搜索问题)

背景:为什么要有全文索引 在当…

1 年 ago