1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-21 06:26:29 +00:00

Update App Clip for Xcode 15 and iOS 16+ (#2162)

1. Run `flutter run` on the project to pick up project automigrations.
2. Set min version to iOS 16 to take advantage of the 15MB size limit
(see
https://github.com/flutter/flutter/issues/71098#issuecomment-1358152892)
3. Other updates needed to avoid Xcode errors and warnings.

First introduced in #538
See also https://github.com/flutter/website/pull/10145
This commit is contained in:
Jenn Magder
2024-02-15 16:14:38 -08:00
committed by GitHub
parent 307f982bc8
commit 3aaa86795e
8 changed files with 49 additions and 51 deletions

View File

@@ -1,7 +1,7 @@
import UIKit
import Flutter
@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,

View File

@@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
@@ -22,6 +24,8 @@
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>