好的,所以我在将近一年半前为我的公司构建了一个应用程序,我的老板最近希望我为其添加一个新屏幕,我确实使用了所有旧的和已弃用的 firebase 代码以及其他所有内容(我真的不想更新他们是因为我知道一切都几乎改变了,并且构建一个全新的应用程序比编辑这个大声笑更好,所以我试图避免这个选项),该应用程序在 Android 上运行得很好,但它不是在 ios 上构建的,它不允许我在尝试构建 ios 或尝试发布 Get 时在终端中执行“flutter build ios”给出上述错误。
授予我的intl version
是^0.16.1
,然后它会说它需要0.17.0
,然后我根据此处的另一篇文章将其更改为,intl: ^0.17.0-nullsafety.2
但它给出了上面的输出。有什么问题?
这是我的 Pubspec.yaml:
name: tamatafreshiq
description: A new Flutter application.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
cloud_firestore: ^0.14.0+2
firebase_core: ^0.5.0
shared_preferences: ^0.5.7+2
firebase_messaging: ^7.0.0
cupertino_icons: ^0.1.2
http: ^0.12.0+2
flutter_spinkit: ^3.1.0
english_words: ^3.1.5
firebase_auth: ^0.18.0+1
provider: ^4.1.3
firebase_storage: ^4.0.0
image_picker: ^0.6.7+2
image_cropper: ^1.2.3
url_launcher: ^5.4.11
localization: ^0.1.0
cached_network_image: ^2.2.0+1
fluttertoast: ^6.0.1
badges: ^1.1.3
data_connection_checker: ^0.3.4
intl: ^0.17.0-nullsafety.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
assets:
- assets/images/
- assets/gifs/
- assets/languages/
fonts:
- family: Rabar
fonts:
- asset: assets/fonts/Rabar_014.ttf
- family: Rubik
fonts:
- asset: assets/fonts/Rubik-Light.ttf