diff --git a/game_template/README.md b/game_template/README.md index 7fa92a079..ad89acec9 100644 --- a/game_template/README.md +++ b/game_template/README.md @@ -536,3 +536,26 @@ flutter pub run flutter_launcher_icons:main You can [configure](https://github.com/fluttercommunity/flutter_launcher_icons#book-guide) the look of the icon in the `flutter_icons:` section of `pubspec.yaml`. + + +# Troubleshooting + +## CocoaPods + +When upgrading to higher versions of Flutter or plugins, you might encounter an error when +building the iOS or macOS app. A good first thing to try is to delete the `ios/Podfile.lock` +file (or `macos/Podfile.lock`, respectively), then trying to build again. (You can achieve +a more thorough cleanup by running `flutter clean` instead.) + +## Warnings in console + +When running the game for the first time, you might see warnings like the following: + +> Note: Some input files use or override a deprecated API. + +or + +> warning: 'viewState' was deprecated in macOS 11.0: Use -initWithState: instead + +These warning come from the various plugins that are used by the template. They are not harmful +and can be ignored. The warnings are meant for the plugin authors, not for you, the game developer. diff --git a/game_template/pubspec.yaml b/game_template/pubspec.yaml index 61966c7da..8227b2138 100644 --- a/game_template/pubspec.yaml +++ b/game_template/pubspec.yaml @@ -23,8 +23,8 @@ dependencies: # If you don't need one of the following dependencies, # delete the relevant line below, and get rid of any Dart code # that references the dependency. - firebase_core: ^1.15.0 # Needed for Crashlytics below - firebase_crashlytics: ^2.8.1 # Error reporting + firebase_core: ^2.1.1 # Needed for Crashlytics below + firebase_crashlytics: ^3.0.3 # Error reporting games_services: ^3.0.0 # Achievements and leaderboards google_mobile_ads: ^2.0.1 # Ads in_app_purchase: ^3.0.1 # In-app purchases