Read online are basically the same routine, but it would not do to me, finally resolved,
The main file is to write the profile,
1. Create a flutter at the same level modules directory entry oc project
It was in the parent directory oc project execution
flutter create --template module flutter_module
2. Create a profile file in the project oc
pod init
3. Modify the profile file
Try to use a relative path
#新添加的代码 flutter_application_path = '../my_flutter' load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb') install_all_flutter_pods(flutter_application_path)
4. Perform
pod install
Reference Address: http://www.luyixian.cn/news_show_313495.aspx