[!] No `Podfile' found in the project directory.


1.cd ios/

2.vim Podfile(創建Podfile)且輸入內容

source'https://github.com/CocoaPods/Specs.git'
platform:ios,'8.0'
inhibit_all_warnings!
target 'testDemo' do
pod 'AFNetworking', '~> 2.6.0'
end

3.按esc

4.再輸入:wq(走完第三步后無需找位置輸入:wq,輸入就行)

5.pod install

 


免責聲明!

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



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