OGeek|极客世界-中国程序员成长平台

标题: ios - CocoaPods - [!] `xcproj` 工具未能触及项目 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 09:49
标题: ios - CocoaPods - [!] `xcproj` 工具未能触及项目

我在尝试更新我的 pod 时收到以下错误:

[!] The xcproj tool has failed to touch the project. Check whether your installation of xcproj is functional.

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 xcproj. Simply recompiling xcproj should fix this problem.

我重建了所有内容并重新安装了 CocoaPods,但没有任何帮助。 有没有人有什么我可以尝试的建议?



Best Answer-推荐答案


这是因为您可能通过自制软件安装了 xcproj,当您更新 Xcode 版本时它会中断。像错误消息所述,您需要重新安装它。你应该能够做到这一点:

brew reinstall xcproj

关于ios - CocoaPods - [!] `xcproj` 工具未能触及项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26777414/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4