itenfay / WeChat_tweak

iOS版功能最全的微信插件,支持最新版微信,具备自动抢红包,屏蔽消息和群消息,过滤特定的群聊,防止撤回消息,伪定位 (朋友圈和附近的人),修改微信运动步数和实时取景做聊天页的背景等功能。
https://itenfay.github.io/2017/04/20/ios-reverse-wechat-snatches-red-envelopes-automatically/
Other
704 stars 122 forks source link

请问 在用make编译的时候出现了问题3的错误 #9

Open cainod opened 4 years ago

cainod commented 4 years ago

在用make编译的时候出现了问题3的错误,然后使用命令sudo xcode-select --switch /Applications/Xcode.app 后弹出错误提示xcode-select: error: invalid developer directory '/Applications/Xcode.app' 如何 解决?

itenfay commented 4 years ago

Hello,

首先确认 Xcode 有没有被卸载,如果 Xcode 被卸载了,你就需要重新安装 Xcode

在终端( Terminal )运行命令:xcode-select,然后提示:xcode-select: error: invalid developer directory。可能原因是没有安装 Xcode Command Line Tools

提供两种方式,自由选择。

在终端( Terminal )运行如下代码,默认安装(Command Line Tools)最新版本。

xcode-select --install

登录苹果开发网站(https://developer.apple.com/download/more/),下载 Command Line Tools (xxx) for Xcode 10.x.dmg 文件进行安装。

cainod commented 4 years ago

Hello,

首先确认 Xcode 有没有被卸载,如果 Xcode 被卸载了,你就需要重新安装 Xcode

在终端( Terminal )运行命令:xcode-select,然后提示:xcode-select: error: invalid developer directory。可能原因是没有安装 Xcode Command Line Tools

提供两种方式,自由选择。

  • 解决方法1:

在终端( Terminal )运行如下代码,默认安装(Command Line Tools)最新版本。

xcode-select --install
  • 解决方法2:

登录苹果开发网站(https://developer.apple.com/download/more/),下载 Command Line Tools (xxx) for Xcode 10.x.dmg 文件进行安装。 cain@c3aindeMac WeChat_tweak % xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates 提示已经安装

cainod commented 4 years ago

@dgynfi

itenfay commented 4 years ago

Hi,

你可以尝试以下操作:

Select Top MenuBar -> Xcode -> Preferences... -> Locations -> Command Line Tools -> Select the lastest version for Xcode