cocoapods - Xcode 8 cocoapods 中止陷阱 : 6

标签 cocoapods xcode8 abort

localhost:PodTest3 haiwang$ pod install
Analyzing dependencies
Downloading dependencies
Installing MBProgressHUD (0.9.2)
Installing Masonry (1.0.2)
Generating Pods project
Abort trap: 6

升级到 Xcode 8 后,cocoapods 不再工作。我尝试过卸载并安装,但还是不行。

最佳答案

对我来说,我通过卸载并使用命令 --pre 再次安装 CocoaPods 解决了这个问题

sudo gem uninstall cocoapods

sudo gem install cocoapods --pre

希望这能解决您的问题。

更新

CocoaPods 已发布版本 1.2.0,因此您现在可以使用安装

sudo gem install cocoapods

您将安装 1.2.0 版本

关于cocoapods - Xcode 8 cocoapods 中止陷阱 : 6,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39980096/

相关文章:

swift - 无法在 Swift 3 中创建范围

c - 当数组在 c 中达到长度 0 时断言中止

ios - dyld : Library not loaded: @rpath/XCTest. 框架/XCTest

ios - 使用 Xcode 8+ 和 Swift 3+ 与 MapKit 进行集群

swift - XCUI测试: Is it possible to tap on element not using static texts present but identifier?

ios - 代码签名错误每当我尝试在新的 SceneKit 应用程序中替换库存文件时

c++ - 在 wifstream 析构函数中中止

matlab - 如何在 MATLAB 中中止正在运行的程序?

ios - CocoaPods 生成的项目的 .travis.yml 中无法识别语言

ios - 在 xcode11 中构建具有完整位码的胖框架