XCode下载包一直在验证
解决方法如下:
1.去除解压验证
xattr -d com.apple.quarantine Xcode_8.2.1.xip
2.双击解压
nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace
解决
http://stackoverflow.com/questions/39545603/error-protocol-not-available-dumping-backtrace
Cocoapod使用出错
-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
https://cocoapods.org/
# Xcode 8 + 9
$ sudo gem install cocoapods
Mac系统恢复任何来源选项
sudo spctl --master-disable
网友评论