Ios 安装CoCoapod时出错:未能生成gem本机扩展

Ios 安装CoCoapod时出错:未能生成gem本机扩展,ios,cocoapods,Ios,Cocoapods,错误:安装CoCoapod时出错: 错误:无法生成gem本机扩展 Building native extensions. This could take a while... 创建Makefile /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -r ./siteconf20150610-6663-7exisu.rb extconf.rb 这是终端中的错误日志,我找不到更新的解决方案 ruby和系统以及

错误:安装CoCoapod时出错: 错误:无法生成gem本机扩展

Building native extensions.  This could take a while...
创建Makefile

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -r ./siteconf20150610-6663-7exisu.rb extconf.rb
这是终端中的错误日志,我找不到更新的解决方案 ruby和系统以及很多我错了的东西——我有ios7和ios7
Mac-10.9

我想在安装cocoapods gem之前,您已经运行了一个
gem更新程序,所以您的所有gem都应该更新

该消息是XCode 5.1引入的一个新警告,现在威胁未知参数为错误。您没有指定使用哪一版本的cocoapods和XCode,但我猜两者之间存在不匹配。也许Xcode太旧了?您正在安装一个全新的cocoapods,因此至少应该是最新的

您可以尝试禁用该警告,而不是更新XCode,并希望编译在安装CoCoapod之前成功完成环境变量的设置,方法如下:

make "DESTDIR=" clean

make "DESTDIR="
compiling generator.c
linking shared-object json/ext/generator.bundle
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [generator.bundle] Error 1

make failed, exit code 2

我想在安装cocoapods gem之前,您已经运行了一个
gem更新
,所以您的所有gem都应该更新

该消息是XCode 5.1引入的一个新警告,现在威胁未知参数为错误。您没有指定使用哪一版本的cocoapods和XCode,但我猜两者之间存在不匹配。也许Xcode太旧了?您正在安装一个全新的cocoapods,因此至少应该是最新的

您可以尝试禁用该警告,而不是更新XCode,并希望编译在安装CoCoapod之前成功完成环境变量的设置,方法如下:

make "DESTDIR=" clean

make "DESTDIR="
compiling generator.c
linking shared-object json/ext/generator.bundle
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [generator.bundle] Error 1

make failed, exit code 2

我想在安装cocoapods gem之前,您已经运行了一个
gem更新
,所以您的所有gem都应该更新

该消息是XCode 5.1引入的一个新警告,现在威胁未知参数为错误。您没有指定使用哪一版本的cocoapods和XCode,但我猜两者之间存在不匹配。也许Xcode太旧了?您正在安装一个全新的cocoapods,因此至少应该是最新的

您可以尝试禁用该警告,而不是更新XCode,并希望编译在安装CoCoapod之前成功完成环境变量的设置,方法如下:

make "DESTDIR=" clean

make "DESTDIR="
compiling generator.c
linking shared-object json/ext/generator.bundle
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [generator.bundle] Error 1

make failed, exit code 2

我想在安装cocoapods gem之前,您已经运行了一个
gem更新
,所以您的所有gem都应该更新

该消息是XCode 5.1引入的一个新警告,现在威胁未知参数为错误。您没有指定使用哪一版本的cocoapods和XCode,但我猜两者之间存在不匹配。也许Xcode太旧了?您正在安装一个全新的cocoapods,因此至少应该是最新的

您可以尝试禁用该警告,而不是更新XCode,并希望编译在安装CoCoapod之前成功完成环境变量的设置,方法如下:

make "DESTDIR=" clean

make "DESTDIR="
compiling generator.c
linking shared-object json/ext/generator.bundle
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [generator.bundle] Error 1

make failed, exit code 2

我按照以下步骤安装CoCoapod。也许对你有用

  • 打开终端
  • gem安装cocoapods
  • pod设置

  • 我按照以下步骤安装CoCoapod。也许对你有用

  • 打开终端
  • gem安装cocoapods
  • pod设置

  • 我按照以下步骤安装CoCoapod。也许对你有用

  • 打开终端
  • gem安装cocoapods
  • pod设置

  • 我按照以下步骤安装CoCoapod。也许对你有用

  • 打开终端
  • gem安装cocoapods
  • pod设置