解决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>

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注