QYu*_*Fat 15 ios swift flutter
当我“扑腾跑”
无法构建 iOS 应用程序 Xcode 构建的错误输出:?** 构建失败 **
Xcode 的输出:../../../Desktop/development/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-1.6 .4/lib/src/smart_refresh.dart:434:9:错误:没有命名名为“keyboardDismissBehavior”的参数。keyboardDismissBehavior: ^^^^^^^^^^^^^^^^^^^^^^ ../../../Desktop/development/flutter/packages/flutter/lib/src/widgets/ scroll_view.dart:588: 9: Context: 找到这个候选人,但参数不匹配。const CustomScrollView({ ^^^^^^^^^^^^^^^^
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,
but the range of supported deployment target versions is 9.0 to 14.2.99. (in target
'shared_preferences' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,
but the range of supported deployment target versions is 9.0 to 14.2.99. (in target
'path_provider' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,
but the range of supported deployment target versions is 9.0 to 14.2.99. (in target
'flutter_boost' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,
but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'FMDB'
from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,
but the range of supported deployment target versions is 9.0 to 14.2.99. (in target
'Flutter' from project 'Pods')
Run Code Online (Sandbox Code Playgroud)
无法为模拟器构建应用程序。在 iPhone 12 上启动应用程序时出错
帮帮我谢谢
小智 38
pull_to_refresh
插件与当前版本的 flutter 不兼容。
解决方案:
更改文件pull_to_refresh
上的插件pubspec.yaml
from1.6.4
或^1.6.3
to1.6.3
并运行flutter pub get
从
pull_to_refresh: ^1.6.3
到
pull_to_refresh: 1.6.3
第1步:
编辑文件pubspec.yaml
从
pull_to_refresh ^1.6.4
或者 pull_to_refresh ^1.6.3
到
pull_to_refresh: 1.6.3
Run Code Online (Sandbox Code Playgroud)
第2步:
运行 flutter clean
编辑文件pubspec.lock
pull_to_refresh:
...
版本:“1.6.3”
更多信息:https : //github.com/peng8350/flutter_pulltorefresh/issues/424
更新 05.03.2021
对于新版本flutter 2.0.1 -> 你需要升级到pull_to_refresh ^1.6.4
归档时间: |
|
查看次数: |
6241 次 |
最近记录: |