[!] Invalid `Podfile` file: undefined method `inherit!' for #<Pod::Podfile:0x007fece49911e0>. Updati
2016-10-16 23:38
429 查看
从git 上拉下来的代码 一运行就报错如下:
The file “Pods-SAGA_iOS.debug.xcconfig” couldn’t be opened because there is no such file. (/Users/luqichun/Desktop/iOS/SAGA_iOS/Pods/Target Support Files/Pods-SAGA_iOS/Pods-SAGA_iOS.debug.xcconfig)
首先要查看一下自己是否已经安装了 cocoapods
运行命令:gemsources−l结果如果为: gem sources -a http://ruby.taobao.org/
表示已经替换镜像 为淘宝镜像 运行sudo gem install cocoapods 可以安装cocoapods
已安装者运行:pod update 更新项目第三方框架
如果运行后报如下错误:
表示需要更新 cocoapods
运行 sudo gem install cocoapods 进行更新 cocoapods
更新完后再运行 pod update
The file “Pods-SAGA_iOS.debug.xcconfig” couldn’t be opened because there is no such file. (/Users/luqichun/Desktop/iOS/SAGA_iOS/Pods/Target Support Files/Pods-SAGA_iOS/Pods-SAGA_iOS.debug.xcconfig)
首先要查看一下自己是否已经安装了 cocoapods
运行命令:gemsources−l结果如果为: gem sources -a http://ruby.taobao.org/
表示已经替换镜像 为淘宝镜像 运行sudo gem install cocoapods 可以安装cocoapods
已安装者运行:pod update 更新项目第三方框架
如果运行后报如下错误:
表示需要更新 cocoapods
运行 sudo gem install cocoapods 进行更新 cocoapods
更新完后再运行 pod update
相关文章推荐
- [!] Invalid `Podfile` file: undefined method `inherit!' for #<Pod::Podfile:0x007ff9942f0c70>. Updati
- [!] Invalid `Podfile` file: undefined local variable or method `use_frameworks' for #<Pod::Podfile:0
- The method newJob(Class<QuartzTest>) is undefined for the type Test
- 错误集_ nib文件加载,Unknown class <XXClass> in Interface Builder file.,Undefined symbolsfor architecture
- Pb(100) The method getType() is undefined for the type new TypeToken<List<String>>(){}
- iOS - xib死活连不上代码问题/[<NSObject 0x1702023e0> setValue:forUndefinedKey:]: this class is not key
- CocoaPods pod update 报错"[!] Invalid `xxxx.podspec` file: undefined method ..." 修复
- 错误集_ nib文件加载,Unknown class <XXClass> in Interface Builder file.,Undefined symbolsfor architecture
- <Error>: CGContextDrawImage: invalid context 0x0o类似此种报错
- extjs4手工创建Chart 前台js包错 Error: Invalid value for <svg> attribute height="-Infinity"
- rails s启动时报错:/config/environments/development.rb:1:in `<top (required)>': undefined method `configure' for
- undefined local variable or method ‘xxx’ for #<RSpec::Core::ExampleGroup::Nested_1::Nested_1:0xbc88d6c>错误解决方案
- The method setClass(Context, Class<?>) in the type Intent is not applicable for the问题
- amCharts使用过程中出现的Invalid negative value for <rect> attribute width错误
- When I write #include <qdom.h> it gives error "no such file or directory".
- 关于Grails在输入命令出现Regression in verifier for <init> method call from inside of a branch的BUG解决办法
- 关于 aps.net<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 的认识
- 关于"The value for the useBean class attribute is invalid" 错误<转>
- <Error>: ImageIO: PNG invalid PNG file: iDOT doesn't point to valid IDAT chunk 解决
- java.lang.NoSuchMethodException: [org.springframework.web.multipart.MultipartFile;.<init>()