如何在flutter中降级rxdart插件?
如图所示,我遵循了以下步骤(只有前3分钟与我的问题相关): 当我尝试运行它时,控制台中会显示:如何在flutter中降级rxdart插件?,dart,flutter,rxdart,Dart,Flutter,Rxdart,如图所示,我遵循了以下步骤(只有前3分钟与我的问题相关): 当我尝试运行它时,控制台中会显示: 由于GeoFlatterFire 2.0.3+2依赖于rxdart^0.20.0,因此此处找不到GeoFlatterFire match>2.0.3+2的旧版本- 如果由于旧版本而收到AndroidX错误,请检查此页面以解决AndroidX问题- 试一试,让我们知道会发生什么请在Podfile中尝试此编辑 需要添加或编辑的代码标记为“**……**” 删除您的Podfile.lock并重试谢谢!如何安装
由于GeoFlatterFire 2.0.3+2依赖于rxdart^0.20.0,因此此处找不到GeoFlatterFire match>2.0.3+2的旧版本- 如果由于旧版本而收到AndroidX错误,请检查此页面以解决AndroidX问题-
试一试,让我们知道会发生什么请在Podfile中尝试此编辑 需要添加或编辑的代码标记为“**……**”
删除您的Podfile.lock并重试谢谢!如何安装旧版本?我试图将它编译到android设备上,但它不起作用。我在主帖中引用了控制台输出作为更新。谢谢你,伙计!我已经发布了新的答案,请尝试让我们知道我加入了!非常感谢!:)
rxdart: any
2019-04-08 12:06:04.178 defaults[36786:354646]
The domain/default pair of (/Users/privat/Documents/Dev/my_app/ios/Runner/Info, CFBundleIdentifier) does not exist
Xcode's output:
↳
/Library/flutter/.pub-cache/hosted/pub.dartlang.org/geoflutterfire-2.0.3+2/ios/Classes/GeoflutterfirePlugin.m:2:9: fatal error:
'geoflutterfire/geoflutterfire-Swift.h' file not found
#import <geoflutterfire/geoflutterfire-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
target 'Runner' do
** use_frameworks! **
........ ......
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
** config.build_settings['SWIFT_VERSION'] = '4.0' **
end
end
end
rxdart:any
target 'Runner' do
** use_frameworks! **
........ ......
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
** config.build_settings['SWIFT_VERSION'] = '4.0' **
end
end
end