- Xcode9 Cocoapos 报错 Generating Po
- Cocoapos 报错 Generating Pods proj
- Generating Pods project Abort tr
- Cocoapos 报错 Generating Pods pro
- Cocoapos 报错信息 Generating Pods pr
- iOS 遇到的恶心bug
- 运行项目报错Error while generating the
- generating /run/initramfs/rdsosr
- Spring Boot Configuration Annota
- Xcode报错 Compiling IB documents f
自从升级到xcode9 就各种坑,下面是我在遇到Cocoapos 报错 Generating Pods project Abort trap: 6的解决步骤
1、先执行:
sudo gem uninstall cocoapods
sudo gem uninstall cocoapods-core
sudo gem uninstall cocoapods-deintegrate
sudo gem uninstall cocoapods-downloader
sudo gem uninstall cocoapods-plugins
sudo gem uninstall cocoapods-search
sudo gem uninstall cocoapods-stats
sudo gem uninstall cocoapods-try
sudo gem uninstall cocoapods-trunk
2、sudo gem install cocoapods --pre
遇到Could not find a valid gem 'cocoapods' (>= 0) in any repository的报错
百度了下,说可能是权限的问题,需要进去到root下面,使用sudo -i或者sudo su进入到root之后再 执行sudo gem install cocoapods 到这里命令行工具就安装好了 command+q退出一下 再重新进入Shell里面 执行sudo gem install cocoapods
3、在执行pod install 就好了
网友评论