tips

作者: 798798123 | 来源:发表于2017-07-30 21:06 被阅读22次

4.sudo gem install cocoapods 执行命令式提示没有权限You don't have write permissions for the /Library
解决:sudo gem install -n /usr/local/bin cocoa pods 输入密码即可进行安装

3.删除Xcode中多余的证书provisioning profile

  • command + shift +G 前往文件夹:
  • ~/Library(资源库)/MobileDevice/Provisioning Profiles
  • 删除里面的文件,重新导入XX.mobileprovision

2.cocoapods搜索不到要使用的库
[!] Unable to find a pod with name, author, summary, or description matching HXWeiboPhotoPicker
解决:

  • 执行:pod setup
  • 移除search_index.json文件: rm ~/Library/Caches/CocoaPods/search_index.json
  • 执行:pod search xxx

1.如果使用了readonly修饰了属性,并且重写了getter方法,则系统会屏蔽掉下划线的成员变量。
此时需要实用合成指令指定下划线成员变量。

相关文章

网友评论

      本文标题:tips

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