Skip to content

Commit 289aa7f

Browse files
huycozyhuynguyennovem
authored andcommitted
update to run on new flutter version for ios
1 parent e03542f commit 289aa7f

9 files changed

Lines changed: 106 additions & 68 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related

ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>11.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>

ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '11.0'
2+
# platform :ios, '13.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

ios/Podfile.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -107,23 +107,23 @@ EXTERNAL SOURCES:
107107
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
108108

109109
SPEC CHECKSUMS:
110-
device_info_plus: 7545d84d8d1b896cb16a4ff98c19f07ec4b298ea
110+
device_info_plus: 8b1a7b1cce194cd48521ee7159feb70453ed4854
111111
DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
112112
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
113-
file_picker: ce3938a0df3cc1ef404671531facef740d03f920
114-
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
115-
flutter_downloader: b7301ae057deadd4b1650dc7c05375f10ff12c39
113+
file_picker: a0560bc09d61de87f12d246fc47d2119e6ef37be
114+
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
115+
flutter_downloader: 78da0da1084e709cbfd3b723c7ea349c71681f09
116116
MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
117-
network_info_plus: b78876159360f5580608c2cea620d6ceffabd0ad
118-
open_filex: 6e26e659846ec990262224a12ef1c528bb4edbe4
119-
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
120-
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
121-
qr_code_scanner: bb67d64904c3b9658ada8c402e8b4d406d5d796e
117+
network_info_plus: d66bcb8c060adf851d1d54900b0e049da9a2d648
118+
open_filex: 432f3cd11432da3e39f47fcc0df2b1603854eff1
119+
path_provider_foundation: 2a68637f8a62df7f6e790a428d1bdf72cb4e2d59
120+
permission_handler_apple: 3787117e48f80715ff04a3830ca039283d6a4f29
121+
qr_code_scanner: d77f94ecc9abf96d9b9b8fc04ef13f611e5a147a
122122
SDWebImage: 9bec4c5cdd9579e1f57104735ee0c37df274d593
123-
share_plus: 599aa54e4ea31d4b4c0e9c911bcc26c55e791028
124-
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
123+
share_plus: 35c6613d1452d4134cfdb14865ac23bff7e7f3c1
124+
shared_preferences_foundation: 4e65c567e7877037d328829a522222c938bf308c
125125
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f
126126

127-
PODFILE CHECKSUM: 86a5364009b866322a76b42cdd44a611f3454d16
127+
PODFILE CHECKSUM: 9d2f8e133d36c409c92cf8b91933c667b4654690
128128

129-
COCOAPODS: 1.11.3
129+
COCOAPODS: 1.16.2

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
282417676A8CEC4CB7559718 /* Pods-Runner.release.xcconfig */,
7070
08534C73AF4B939B07B4B701 /* Pods-Runner.profile.xcconfig */,
7171
);
72-
name = Pods;
7372
path = Pods;
7473
sourceTree = "<group>";
7574
};
@@ -158,7 +157,7 @@
158157
97C146E61CF9000F007C117D /* Project object */ = {
159158
isa = PBXProject;
160159
attributes = {
161-
LastUpgradeCheck = 1430;
160+
LastUpgradeCheck = 1510;
162161
ORGANIZATIONNAME = "";
163162
TargetAttributes = {
164163
97C146ED1CF9000F007C117D = {
@@ -345,7 +344,7 @@
345344
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
346345
GCC_WARN_UNUSED_FUNCTION = YES;
347346
GCC_WARN_UNUSED_VARIABLE = YES;
348-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
347+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
349348
MTL_ENABLE_DEBUG_INFO = NO;
350349
SDKROOT = iphoneos;
351350
SUPPORTED_PLATFORMS = iphoneos;
@@ -361,7 +360,7 @@
361360
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
362361
CLANG_ENABLE_MODULES = YES;
363362
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
364-
DEVELOPMENT_TEAM = X8NNQ9CYL2;
363+
DEVELOPMENT_TEAM = 4JMSU9CPBQ;
365364
ENABLE_BITCODE = NO;
366365
INFOPLIST_FILE = Runner/Info.plist;
367366
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
@@ -424,7 +423,7 @@
424423
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
425424
GCC_WARN_UNUSED_FUNCTION = YES;
426425
GCC_WARN_UNUSED_VARIABLE = YES;
427-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
426+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
428427
MTL_ENABLE_DEBUG_INFO = YES;
429428
ONLY_ACTIVE_ARCH = YES;
430429
SDKROOT = iphoneos;
@@ -473,7 +472,7 @@
473472
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
474473
GCC_WARN_UNUSED_FUNCTION = YES;
475474
GCC_WARN_UNUSED_VARIABLE = YES;
476-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
475+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
477476
MTL_ENABLE_DEBUG_INFO = NO;
478477
SDKROOT = iphoneos;
479478
SUPPORTED_PLATFORMS = iphoneos;
@@ -491,7 +490,7 @@
491490
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
492491
CLANG_ENABLE_MODULES = YES;
493492
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
494-
DEVELOPMENT_TEAM = X8NNQ9CYL2;
493+
DEVELOPMENT_TEAM = 4JMSU9CPBQ;
495494
ENABLE_BITCODE = NO;
496495
INFOPLIST_FILE = Runner/Info.plist;
497496
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
@@ -515,7 +514,7 @@
515514
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
516515
CLANG_ENABLE_MODULES = YES;
517516
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
518-
DEVELOPMENT_TEAM = X8NNQ9CYL2;
517+
DEVELOPMENT_TEAM = 4JMSU9CPBQ;
519518
ENABLE_BITCODE = NO;
520519
INFOPLIST_FILE = Runner/Info.plist;
521520
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";

ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<MacroExpansion>
3132
<BuildableReference
@@ -43,11 +44,13 @@
4344
buildConfiguration = "Debug"
4445
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4546
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
4648
launchStyle = "0"
4749
useCustomWorkingDirectory = "NO"
4850
ignoresPersistentStateOnLaunch = "NO"
4951
debugDocumentVersioning = "YES"
5052
debugServiceExtension = "internal"
53+
enableGPUValidationMode = "1"
5154
allowLocationSimulation = "YES">
5255
<BuildableProductRunnable
5356
runnableDebuggingMode = "0">

ios/Runner/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import UIKit
22
import Flutter
33
import flutter_downloader
44

5-
@UIApplicationMain
5+
@main
66
@objc class AppDelegate: FlutterAppDelegate {
77
override func application(
88
_ application: UIApplication,

macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import Foundation
77

88
import desktop_drop
99
import device_info_plus
10+
import file_picker
1011
import network_info_plus
1112
import open_dir_macos
1213
import path_provider_foundation
@@ -17,6 +18,7 @@ import window_size
1718
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
1819
DesktopDropPlugin.register(with: registry.registrar(forPlugin: "DesktopDropPlugin"))
1920
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
21+
FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin"))
2022
NetworkInfoPlusPlugin.register(with: registry.registrar(forPlugin: "NetworkInfoPlusPlugin"))
2123
OpenDirMacosPlugin.register(with: registry.registrar(forPlugin: "OpenDirMacosPlugin"))
2224
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))

0 commit comments

Comments
 (0)