随笔分类 -  Mac

摘要:# 查看Swift版本 xcrun swift -version # Xcode中添加的SDK版本 xcodebuild -showsdks 阅读全文
posted @ 2024-01-12 19:55 玉米炖排骨 阅读(204) 评论(0) 推荐(0)
摘要:Preface What is Aria2? Aria2 is a free, cross-platform command line interface download manager that supports HTTP, HTTPS, FTP, Bittorrent and Metalink 阅读全文
posted @ 2022-09-13 19:52 玉米炖排骨 阅读(1930) 评论(0) 推荐(0)
摘要:iterm2使用教程: http://yu66.vip/doc/mac/005-Mac%E4%B8%8BIterm2%E4%BD%BF%E7%94%A8%E5%8F%8A%E5%BF%AB%E6%8D%B7%E9%94%AE.html#31-%E8%AE%BE%E7%BD%AE%E6%97%A0%E 阅读全文
posted @ 2022-08-20 23:47 玉米炖排骨 阅读(1985) 评论(0) 推荐(0)
摘要:Transaction check error:file /boot/efi/EFI/centos from install of fwupdate-efi-12-5.el7.centos.x86_64 conflicts with file from package grub2-common-1: 阅读全文
posted @ 2021-11-30 20:25 玉米炖排骨 阅读(235) 评论(0) 推荐(0)
摘要:sudo ssserver -c /etc/***.json -d start 本来一切到这里就结束了,但在18.04上报了个错,原因是openssl版本的问题。 $ sudo ssserver -c /etc/***.json -d start INFO: load 阅读全文
posted @ 2019-07-13 16:48 玉米炖排骨 阅读(3) 评论(0) 推荐(0)
摘要:打开终端,输入:defaults write com.apple.finder AppleShowAllFiles -bool true 此命令显示隐藏文件defaults write com.apple.finder AppleShowAllFiles -bool false 此命令关闭显示隐藏文 阅读全文
posted @ 2019-07-13 12:16 玉米炖排骨 阅读(219) 评论(0) 推荐(0)
摘要:安装包安装的Jenkins修改默认端口的方法: 用brew安装的的Jenkins修改默认端口的方法: 启动jenkins: brew services start jenkins 停止jenkins:brew services stop jenkins 重启Jenkins:brew services 阅读全文
posted @ 2019-07-13 12:06 玉米炖排骨 阅读(4323) 评论(0) 推荐(1)
摘要:如果pod setup 不顺利 采用:Git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master 该过程作用与 pod setup作用相同 阅读全文
posted @ 2019-01-25 11:33 玉米炖排骨 阅读(288) 评论(0) 推荐(0)
摘要:今天尝试用 Cocoapods安装个第三方库.. 输入pod install, 发现 command not find。 WTF! 估计是升级10.11后Cocoapods被干掉了。 我输入 sudo gem install cocoa pods 之后,出现如下问题: ERROR: While ex 阅读全文
posted @ 2019-01-25 01:08 玉米炖排骨 阅读(1895) 评论(0) 推荐(0)
摘要:macOS10.14.2,最近cocoapods不能正常使用了。 终端输入 sudo gem update –system 显示如下错误 ERROR: While executing gem … (Gem::FilePermissionError) You don’t have write perm 阅读全文
posted @ 2019-01-24 22:58 玉米炖排骨 阅读(310) 评论(0) 推荐(0)
摘要:卸载cocoapods: localhost:~ je$ sudo gem uninstall cocoapods Remove executables: pod, sandbox-pod in addition to the gem? [Yn] Y ERROR: While executing g 阅读全文
posted @ 2019-01-24 22:49 玉米炖排骨 阅读(1068) 评论(0) 推荐(0)
摘要:localhost:test jerry$ open .bash_profile The file /Users/je/Desktop/test/.bash_profile does not exist. localhost:test je$ open .bash_profile The file 阅读全文
posted @ 2019-01-24 21:49 玉米炖排骨 阅读(7941) 评论(0) 推荐(1)
摘要:从App Store上下载的Xcode,默认是不会安装Command Line Tools的,Command Line Tools是在Xcode中的一款工具,可以在命令行中运行C程序。 在终端中输入命令 会弹出提示框 选择同意协议 安装中 安装完成后,在终端中执行gcc -v命令查看是否安装成功。如 阅读全文
posted @ 2019-01-24 18:15 玉米炖排骨 阅读(5574) 评论(0) 推荐(0)
摘要:1、打开Mac自带终端Terminal; 2、进入当前用户主目录,cd ~;(默认用户目录则不需要) 3、临时授权,sudo su; 4、输入系统密码(加锁密码不显示输入); 5、创建.bash_profile文件,touch .bash_profile(如果存在则不必新建,可直接第六步验证后再选择 阅读全文
posted @ 2019-01-24 13:29 玉米炖排骨 阅读(303) 评论(0) 推荐(0)
摘要:在mac系统中,使用homebrew可以很方便的管理包。按照官网的说明执行以下命令时总是报错: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 应该是 阅读全文
posted @ 2019-01-24 13:21 玉米炖排骨 阅读(6697) 评论(1) 推荐(1)
摘要:环境安装 第一步: 首先,Mac下需要使用.Net编译后的程序,需要用到跨平台的方案Mono(现阶段微软已推出跨平台的方案.Net Core,不过暂时只支持控制台程序)。安装程序可以从http://www.mono-project.com/download/#download-mac地址下载。 第二 阅读全文
posted @ 2018-11-02 15:03 玉米炖排骨 阅读(307) 评论(0) 推荐(0)
摘要:Mac 10.14 Open folders in new window (high Sierra) System Preferences > Dock. Change "Prefer tabs when opening windows" to "Manually". 阅读全文
posted @ 2018-10-25 17:03 玉米炖排骨 阅读(478) 评论(0) 推荐(0)