1. 程式人生 > >[!] Invalid `Podfile` file: undefined method `inherit!' for #. Updati

[!] Invalid `Podfile` file: undefined method `inherit!' for #. Updati

從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
執行命令:gemsourcesl 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 #. Updati

從git 上拉下來的程式碼 一執行就報錯如下: The file “Pods-SAGA_iOS.debug.xcconfig” couldn’t be opened because there is no such file. (/Users/luqichun

Invalid tld file: "/WEB-INF/tags/xxxt.tld", see JSP 2.2 specification section 7.3.1 for more details

-m port hat 及其 conf 3.0 tro deploy can 錯誤描述 在jsp頁面引入了自定義的TLD文件的時候,碰到了一個錯誤 Invalid tld file: "/WEB-INF/tags/xxxt.tld", see JSP

CentOS 7安裝Gitlab時報錯:undefined method `downcase' for nil:NilClass

說明:其實這事怪我,我把系統的某些配置改了。 首先分析這個錯誤出現的位置在這個檔案: /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/redhat_helper.rb 判斷程式碼如下所示: 這段程式碼

整合hibeaver的血淚史 -- Ambiguous method overloading for method java.io.File#<init>

專案中埋點的位置越來越多,就想著搞下無埋點資料統計。 調研了一圈,基本上確定,日誌收集+插樁。 新起個專案,日誌收集他媽的竟然又用到了我剛畢業第一年做的專案。 把裡面日誌收集的類修修補補挪過來,除錯成功,打個jar包扔專案裡,可以完美實現bugly初始化,testJavaCrash()功

打包Jar時候出現Invalid signature file digest for Manifest main

使用idea打包成jar上傳執行時候出現以下錯誤: Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

Unable to find main class或者java.lang.SecurityException: Invalid signature file digest for Manifest

突然有一天 專案clean install時報錯 Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.6.RELEASE:repackage (default) on project

Intellij打包jar檔案,“java.lang.SecurityException: Invalid signature file digest for Manifest main attrib

下面是使用Intellij 打包jar檔案的步驟,之後會有執行jar檔案時遇到的錯誤。 打包完成。 ========================================================================== 執行jar出現問

Invalid character found in method name. HTTP method names must be tokens

error 緩沖 pan img cut ade odi port col o.apache.coyote.http11.Http11Processor : Error parsing HTTP request header Note: furt

JWPlayer Uncaught Error: Invalid SRT file

顯示 trac 實施 階段 class name jwplayer ack plain 錯誤場景:JWPlayer 播放視頻,加入了字幕和縮略圖;字幕為Srt格式:1 00:00:00,000 --> 00:00:02,000 戰略管理過程 2 00:00:03

Use the following method printPrimes() for questions a-f below

int 技術分享 case code nes ati http conn design Use the following method printPrimes() for questions a-f below Code /************************

挖坑指南:[Vue warn]: Invalid prop: custom validator check failed for prop "XXX".

前言 表單表單,開發後臺盡是表單。話不多說,先看看問題吧。 開始 這個專案呢, 是使用了iView UI框架。開始查詢網上類似的問題。type排查了一遍,最後發現是Input元件的type賦值為number。而官方支援的呢,如下 好吧~ 開發中遇到各種各樣的

MATLAB:Invalid MEX-file '/路徑/caffe.mexa64': libmkl_rt.so: 無法開啟共享物件檔案

https://blog.csdn.net/lengconglin/article/details/77833525 sudo ln -s /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64/libmkl

spring mvc No matching handler method found for servlet request:

2018-09-09 14:31:39  [ http-apr-9004-exec-9:393161 ] - [ ERROR ]  cn.com.biz.exception.MyExceptionHandler.resolveException(MyExceptionHand

解決Can't map file, errno=22 file 'xxx' for architecture arm64(armv7)問題!

今天在引入一個靜態framework庫時候,編譯遇到了“Can't map file, errno=22 file 'xxx' for architecture arm64(armv7)”問題! 起因是我在主專案中,build setting-----》other linker flags

解決Could not find method classpath() for arguments [com.android.tools.build:gradle:3.0.0] 錯誤

記錄下:原來專案是2.3.3的gradle,因為老專案,升級到3.0.0有很多問題,加上一些3方庫的不支援,結果今天早整合VasDolly時,升級到3.0.0,最後改回到2.3.3缺怎麼都執行不起來專案

Intervention\Image Laravel php等比例壓縮圖片 報錯:Call to undefined method Intervention\Image\Image::make()

安裝 composer require intervention/image 開啟config/app.php,註冊如下服務提供者到$providers陣列: Intervention\Image\ImageServiceProvider::class 然

如何在同一臺電腦上同時執行兩個Tomcat(關於Invalid character found in method name.HTTP method names must be token.錯誤資訊)

今天在學習一個專案的時候需要用到Tomcat8,而我的Tomcat版本是7,因為Tomcat7用的久了比較習慣又不想解除安裝,所以打算兩個一起用,在網上查了同一臺電腦上可以執行兩個Tomcat後,就開始部署Tomcat8. 在看了一篇前輩的經驗後將Tomcat8的start

Tomcat報錯:Invalid character found in method name. HTTP method names must be tokens

問題: 報錯資訊:Invalid character found in method name. HTTP method names must be tokens 原因:Tomcat的header緩衝區大小不夠 解決方法:只需要在server.xml中增加maxHt

spring mvc No matching handler method found for servlet request:

2018-09-09 14:31:39  [ http-apr-9004-exec-9:393161 ] - [ ERROR ]  cn.com.biz.exception.MyExceptionHan

vue.runtime.esm.js:593 [Vue warn]: Invalid prop: custom validator check failed for prop "value".報錯解決

在uni中使用 picker元件,一直報錯 vue.runtime.esm.js:593 [Vue warn]: Invalid prop: custom validator check failed for prop "value" 表示在picker中有關於value的錯誤,但是一直沒找到value