Closed dgurudot closed 4 years ago
Fixed in new version.
The same problem on iPhone 12 Pro in debug mode. Launching lib/main.dart on iPhone 12 Pro in debug mode... Warning: Podfile is out of date This can cause a mismatched version of Flutter to be embedded in your app, which may result in App Store submission rejection or crashes. If you have local Podfile edits you would like to keep, see https://github.com/flutter/flutter/issues/24641 for instructions. To regenerate the Podfile, run: rm ios/Podfile
Launching lib/main.dart on iPhone 11 Pro Max in debug mode... Warning: Missing build name (CFBundleShortVersionString). Warning: Missing build number (CFBundleVersion). Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store. Warning: Podfile is out of date This can cause a mismatched version of Flutter to be embedded in your app, which may result in App Store submission rejection or crashes. If you have local Podfile edits you would like to keep, see https://github.com/flutter/flutter/issues/24641 for instructions. To regenerate the Podfile, run: rm ios/Podfile
Running Xcode build... Xcode build done. 15.3s [VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized. If you're running an application and need to access the binary messenger before
runApp()
has been called (for example, during plugin initialization), then you need to explicitly call theWidgetsFlutterBinding.ensureInitialized()
first. If you're running a test, you can call theTestWidgetsFlutterBinding.ensureInitialized()
as the first line in your test'smain()
method to initialize the binding.0 defaultBinaryMessenger. (package:flutter/src/services/binary_messenger.dart:76:7)
1 defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
2 MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
3 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
4 getApplicationDocumentsDirectory (package:path_provider/path_provi<…>
Syncing files to device iPhone 11 Pro Max...