Accept Xcode/iOS License to run git

在没有安装Xcode的情况下, 使用了 webstorm 的git,提示

安装xcode,安装完成后,并没有打开xcode,而是再次使用git,发现

提示

输入以下命令行:

sudo xcodebuild -license

Agreeing to the Xcode/iOS license requires admin privileges, please re-run the command。

意思就是说,虽然安装了Xcode,但是并没有同意使用协议之类的,需要同意协议后,再次运行git相关命令。

在命令行中输入 sudo xcodebuild -license , 按照提示,输入agree。

然后再次在webstorm中运行 git 还是同样错误。 最后重启mac,OK!

终于正常了。

不过一事不明, IDEA 在不安装 xcode就可以使用git,为什么webstorm不可以?

原文地址:https://www.cnblogs.com/googlegis/p/9842414.html

时间: 2024-08-29 08:39:43

Accept Xcode/iOS License to run git的相关文章

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo

更新了xcode后使用goland运行项目时提示 Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo 更具提示打开xcode 点击agree安装即可!

How to provide username and password when run "git clone [email protected]"? - Stack Overflow

How to provide username and password when run "git clone [email protected]"? - Stack Overflow

ios常用第三方库git下载地址

1.FMDB https://github.com/ccgus/fmdb 2.ASIHTTPRequest https://github.com/paytronix/ASIHTTPRequest 3.AFNetWork https://github.com/AFNetworking/AFNetworking 4.MBProgressHUD https://github.com/jdg/MBProgressHUD 5.AsyncSocket https://github.com/roustem/A

Xcode报错:run custom shell script '[cp] copy pods resource

Xcode报错:run custom shell script '[cp] copy pods resource Showing Recent Issues PhaseScriptExecution [CP]\ Copy\ Pods\ Resources... 解决方案: 点击Pods -?->找到友盟的文件夹 -?->点击Resources 每个xib文件 -?->找到interface Builder Document -?->Builds For 换成7.0以后 -?->

idea 报Сannot Run Git runnerw.exe: AttachConsole failed with error 6

报错:Сannot Run Git runnerw.exe: AttachConsole failed with error 6 解决方案:指向Git 的git.exe文件所在的安装目录,配置上就可以了 原文地址:https://www.cnblogs.com/xiqoqu/p/11263490.html

XCode + IOS + Flutter真机调试报错

XCode + IOS + Flutter真机调试 报错:Could not build the precompiled application for the device. It appears that your application still contains the default signing identifier. Try replacing 'com.example' with your signing id in Xcode: open ios/Runner.xcwork

【iOS技术】Xcode+GitHub远程代码托管(GIT, SVN)

原创 2016-05-24 旭哥 蓝鸥 学生对旭哥的评价是这样的: 旭哥 为什么这么年轻 知识却比我们多这么多............ 旭哥很是负责,对同学的各种问题都能够热心地解答,在旭哥的带领下,在项目阶段学到了很多,没什么建议 旭哥,很负责,平时很照顾,而且知识拓展面挺广.   先来看看什么是代码远程托管: 其实就是将我们的代码上传到GitHub的服务器上, 供别人下载, 当然了也可以在团队开发的时候, 使用GitHub进行代码合并工作, 下面我们进入正题 .   在开始分享之前,小编给旭

Hybrid App Development: 二、关于造轮子以及在Xcode iOS应用开发中加入Cordova

转载请注明出处:http://www.cnblogs.com/xdxer/p/4111552.html [ctrl+左键点击图片可以查看原图] 在上一篇关于Hybrid App Development的文章中,我讨论了一下在iOS下UIWebView的使用方法.但是光使用一个UIWebView所提供的功能还是完全不能满足我们的需求.   关于造轮子的思考: 在UIKit中的UIWebView虽然已经提供了很多功能了,比如JavaScript和Objc之间的通信.但是考虑到一个问题,如果在Hybr

Xcode iOS布局autolayout和sizeclass的使用

一.关于自动布局(Autolayout) 在Xcode中,自动布局看似是一个很复杂的系统,在真正使用它之前,我也是这么认为的,不过事实并非如此. 我们知道,一款iOS应用,其主要UI组件是由一个个相对独立的可视单元构成,这些可视单元有的主要负责向用户输出有用的信息,有些则负责信息的输入(交互),交互的过程中往往还伴随有动画的效果,已达到整个信息传递的连贯性以及用户体验的细腻感.可视单元,在实际开发中主要是view.button等,那么这些可视单元的关系由两个基本的关系构成:兄弟关系和父子关系,整