Flutter pod install reported [!] No Podfile found in the project directory solution

Perform the following six steps under the current project:

first step:

Switch to the ios directory

cd ios

Step two:

Create Podfile

vim Podfile

third step:

Write the following data in the Podfile

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

the fourth step:

Press esc.

the fifth step:

/ No need to find a location to enter: wq, just enter

wq 

Step six:

After saving successfully, re-  pod install.

Guess you like

Origin blog.csdn.net/hzqit520/article/details/115767808