Loïc Sharma
194fefaa53
[iOS] Migrate @UIApplicationMain attribute to @main ( #146707 )
...
This migrates Flutter to use the `@main` attribute introduced in Swift 5.3. The `@UIApplicationMain` attribute is deprecated and will be removed in Swift 6. See: https://github.com/apple/swift-evolution/blob/main/proposals/0383-deprecate-uiapplicationmain-and-nsapplicationmain.md
This change is split into two commits:
1. ad18797428
- This updates the iOS app template and adds a migration to replace `@UIApplicationMain` uses with `@main`.
2. 8ecbb2f29f
- I ran `flutter run` on each Flutter iOS app in this repository to verify the app migrates and launches successfully.
Part of https://github.com/flutter/flutter/issues/143044
2024-04-16 22:13:03 +00:00
Jenn Magder
90ced90f1b
Sort Swift imports in templates ( #141487 )
...
`swift-format` alphabetizes imports. Alphabetize them in swift template files and integration tests.
I found this as part of https://github.com/flutter/flutter/issues/41129 running `swift-import` on packages.
2024-01-16 18:07:21 +00:00
Chris Yang
fadcaee842
iOS info.plist template: make UIViewControllerBasedStatusBar to be true ( #128970 )
...
Now that we support UIViewControllerBasedStatusBar by default (after engine roll: c7167765d7
), we should make this value to be true.
Part of https://github.com/flutter/flutter/issues/128969
2023-06-20 18:11:18 +00:00
Jenn Magder
70aaff1217
Set Xcode build script phases to always run ( #108331 )
2022-07-26 19:20:07 +00:00
Jenn Magder
5788f5ef07
Run CADisableMinimumFrameDurationOnPhone migration on all example apps ( #101314 )
2022-04-05 15:38:06 -07:00
Mouad Debbar
30b6b9e7f0
Revert "Update Xcode toolsVersion encoded in generated Main.storyboard ( #94084 )" ( #94164 )
...
This reverts commit 6a3ea7eb83
.
2021-11-24 10:12:53 -05:00
Jenn Magder
6a3ea7eb83
Update Xcode toolsVersion encoded in generated Main.storyboard ( #94084 )
2021-11-23 17:38:02 -08:00
Jonah Williams
0b3f5cfcc0
[flutter_tools] initial support for enable experiment, run, apk, ios, macos ( #54617 )
2020-04-21 20:39:36 -07:00