【发布时间】:2020-01-17 04:58:00
【问题描述】:
我正在尝试将 Flutter 模块集成到现有的 iOS 应用中
我的 pod 文件:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'IosFlutter' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for IosFlutter
target 'IosFlutterTests' do
inherit! :search_paths
# Pods for testing
end
target 'IosFlutterUITests' do
inherit! :search_paths
# Pods for testing
end
flutter_application_path = 'path/to/flutter_app/'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
end
在终端运行 pod install 时出现此错误:
Invalid `Podfile` file: cannot load such file -- path/to/.ios/Flutter/podhelper.rb
任何建议将不胜感激,谢谢
【问题讨论】:
标签: ios xcode flutter cocoapods