pod install后出現的錯誤


 

[!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.

出現這個錯誤是因為使用文本編輯編輯了Podfile, 解決辦法:不要使用文本編輯去編輯Podfile,使用Xcode編輯,或者使用終端敲命令去編輯。

 

[!] The `ChatDemo [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation

    - Use the `$(inherited)` flag, or

    - Remove the build settings from the target.

 

[!] The `ChatDemo [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation

    - Use the `$(inherited)` flag, or

    - Remove the build settings from the target.

上面兩個錯誤的兩種解決方法:

1.點擊項目文件 project.xcodeproj,右鍵`顯示包內容`,用文本編輯器打開`project.pbxproj`,刪除`OTHER_LDFLAGS`的地方,保存,回到 Xcode,編譯通過

2.Go to your target Build Settings -> Other linker flags -> double click . Add $(inherited) to a new line.

 

[!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pod being used is: NVActivityIndicatorView

出現這種錯誤, 是因為Podfile中, platform后的iOS版本低於框架所要求的版本

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM