在更換完電腦或者升級了podfile版本之后pod的內(nèi)容必須明確的指出所用的第三方庫的target否則會出現(xiàn)錯誤:The dependency `` is not used in any concrete?
為了解決這個問題進(jìn)入了cocospod的官網(wǎng)蜀踏,在官網(wǎng)中Podfile文件的格式是
platform :ios, '7.0'
target "AppName" do
(這個地方是pod的內(nèi)容 eg :pod 'pop')
end
然后直接采用pod install 既可以?
需要注意的是在這個過程中也許會出現(xiàn)錯誤
[!] Invalid `Podfile` file: /Users/mark/Downloads/VBFPopFlatButton-master/Podfile:3: syntax error, unexpected tIDENTIFIER, expecting end-of-input?
如果是編碼的問題可以參考文章:http://www.cnblogs.com/mgbert/p/3945273.html ?