ios - CocoaPods - [!] `xcproj` 工具未能触及项目
<p><p>我在尝试更新我的 pod 时收到以下错误:</p>
<blockquote>
<p>[!] The <code>xcproj</code> tool has failed to touch the project. Check whether
your installation of <code>xcproj</code> is functional.</p>
<p>xcproj --project "/xxxxx/Pods/Pods.xcodeproj" touch
DVTFoundation.framework not found. It probably means that you have
deleted, moved or renamed the Xcode copy that compiled <code>xcproj</code>.
Simply recompiling <code>xcproj</code> should fix this problem.</p>
</blockquote>
<p>我重建了所有内容并重新安装了 CocoaPods,但没有任何帮助。
有没有人有什么我可以尝试的建议?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>这是因为您可能通过自制软件安装了 <code>xcproj</code>,当您更新 Xcode 版本时它会中断。像错误消息所述,您需要重新安装它。你应该能够做到这一点:</p>
<pre><code>brew reinstall xcproj
</code></pre></p>
<p style="font-size: 20px;">关于ios - CocoaPods - [!]`xcproj` 工具未能触及项目,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/26777414/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/26777414/
</a>
</p>
页:
[1]