我在现有的 iOS 应用中添加了一个 Flutter 模块。我有一个这样的 podfile:
flutter_application_path = '../my_flutter/'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
target 'MyiOS' do
# Comment the next line if you dont want to use dynamic frameworks
use_frameworks!
# Pods for MyiOS
install_all_flutter_pods(flutter_application_path)
end
它工作正常。但我想像其他 pod 一样从 git repo 安装 flutter 模块:
pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'dev'
我该怎么做?