美文网首页
iOS开发杂记

iOS开发杂记

作者: huluo666 | 来源:发表于2017-02-13 10:00 被阅读52次

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

相关文章

  • iOS开发杂记

    因为记性不好,常常看到点东西,都感觉很好,但是经常时间一长都忘了,所以现在些杂记,记住这些。慢慢补充。 1.iOS...

  • iOS 开发杂记

    iOS类库合集: http://www.code4app.com/thread-7831-1-1.htmliOS最...

  • iOS开发杂记

    XCode下载包一直在验证解决方法如下:1.去除解压验证xattr -d com.apple.quarantine...

  • iOS 开发杂记

    抛出异常 UILabel文字添加删除线 自定义控件的数据源设置 NSString NSArray 数组排序 为UI...

  • iOS开发杂记

    杂记: 1.安装Xcode插件管理终端命令: curl -fsSL https://raw.githubuserc...

  • iOS开发杂记

    下面的内容基本都是我亲测的 Xcode目录位置:~/Library/Developer/Xcode/ Code S...

  • iOS开发杂记

    UITapGestureRecognizer相关 一个手势添加到多个view上,只有最后一个view添加的有效 每...

  • 2018-01-08

    title: ios杂记 date: 2015-12-20 #写作时间 description: 逗指导的IOS...

  • 《iOS开发进阶》杂记

    Charles 模拟网络状态 在Charles的菜单上,选择“Proxy” --> “Throttle Setti...

  • iOS开发证书杂记

    1:app提交上架App Store最新流程:http://www.jianshu.com/p/ae482e6cb...

网友评论

      本文标题:iOS开发杂记

      本文链接:https://www.haomeiwen.com/subject/tipzittx.html