最終更新:2024-04-16 (火) 11:25:19 (150d)
Flutter/ビルド/iOS
https://docs.flutter.dev/deployment/ios
初回
- そのままflutter run -d xxxxするとエラー
It appears that there was a problem signing your application prior to installation on the device. Verify that the Bundle Identifier in your project is your signing id in Xcode open ios/Runner.xcworkspace Also try selecting 'Product > Build' to fix the problem.
ビルド
デバッグ版のアプリをホームスクリーンから起動しようとすると落ちる
- once a Flutter debug application is installed on the device (either by using flutter run a Flutter-enabled IDE, or from Xcode), the application can no longer be re-launched by tapping the application’s icon in the home screen in iOS 14 on physical devices.
- iOSのデバッガの仕組みのせい
- https://docs.flutter.dev/development/ios-14#launching-debug-flutter-without-a-host-computer
- flutter run
- RunnerのBuild ConfigurationをReleaseにすると良い