Skip to content

Commit 3e28edc

Browse files
committed
chore: update iPS build settings
1 parent 213d573 commit 3e28edc

File tree

7 files changed

+33
-20
lines changed

7 files changed

+33
-20
lines changed

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>12.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>

ios/Podfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,16 @@ target 'Runner' do
3333

3434
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
3535

36+
end
37+
38+
post_install do |installer|
3639
installer.pods_project.targets.each do |target|
40+
flutter_additional_ios_build_settings(target)
3741
target.build_configurations.each do |config|
3842
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
3943
'$(inherited)',
4044
'PERMISSION_CONTACTS=1'
4145
]
4246
end
4347
end
44-
end
45-
46-
post_install do |installer|
47-
installer.pods_project.targets.each do |target|
48-
flutter_additional_ios_build_settings(target)
49-
end
50-
end
48+
end

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
97C146EC1CF9000F007C117D /* Resources */,
126126
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
127127
80DD3B0AC9CE4C03905201E5 /* [CP] Embed Pods Frameworks */,
128+
7846E4A0144C9F9D929FFC17 /* [CP] Copy Pods Resources */,
128129
);
129130
buildRules = (
130131
);
@@ -141,7 +142,7 @@
141142
97C146E61CF9000F007C117D /* Project object */ = {
142143
isa = PBXProject;
143144
attributes = {
144-
LastUpgradeCheck = 1430;
145+
LastUpgradeCheck = 1510;
145146
ORGANIZATIONNAME = "";
146147
TargetAttributes = {
147148
97C146ED1CF9000F007C117D = {
@@ -221,6 +222,23 @@
221222
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
222223
showEnvVarsInLog = 0;
223224
};
225+
7846E4A0144C9F9D929FFC17 /* [CP] Copy Pods Resources */ = {
226+
isa = PBXShellScriptBuildPhase;
227+
buildActionMask = 2147483647;
228+
files = (
229+
);
230+
inputFileListPaths = (
231+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
232+
);
233+
name = "[CP] Copy Pods Resources";
234+
outputFileListPaths = (
235+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
236+
);
237+
runOnlyForDeploymentPostprocessing = 0;
238+
shellPath = /bin/sh;
239+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
240+
showEnvVarsInLog = 0;
241+
};
224242
80DD3B0AC9CE4C03905201E5 /* [CP] Embed Pods Frameworks */ = {
225243
isa = PBXShellScriptBuildPhase;
226244
buildActionMask = 2147483647;
@@ -329,7 +347,7 @@
329347
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
330348
GCC_WARN_UNUSED_FUNCTION = YES;
331349
GCC_WARN_UNUSED_VARIABLE = YES;
332-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
350+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
333351
MTL_ENABLE_DEBUG_INFO = NO;
334352
SDKROOT = iphoneos;
335353
SUPPORTED_PLATFORMS = iphoneos;
@@ -410,7 +428,7 @@
410428
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
411429
GCC_WARN_UNUSED_FUNCTION = YES;
412430
GCC_WARN_UNUSED_VARIABLE = YES;
413-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
431+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
414432
MTL_ENABLE_DEBUG_INFO = YES;
415433
ONLY_ACTIVE_ARCH = YES;
416434
SDKROOT = iphoneos;
@@ -460,7 +478,7 @@
460478
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
461479
GCC_WARN_UNUSED_FUNCTION = YES;
462480
GCC_WARN_UNUSED_VARIABLE = YES;
463-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
481+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
464482
MTL_ENABLE_DEBUG_INFO = NO;
465483
SDKROOT = iphoneos;
466484
SUPPORTED_PLATFORMS = iphoneos;

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_local_notifications
44

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

lib/account/provider.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import 'package:enough_mail/enough_mail.dart';
21
import 'package:enough_mail_app/enough_mail_app.dart';
32
import 'package:riverpod_annotation/riverpod_annotation.dart';
43

test/widget_test.dart

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
// gestures. You can also use WidgetTester to find child widgets in the widget
66
// tree, read text, and verify that the values of widget properties are correct.
77

8-
import 'package:flutter/material.dart';
9-
import 'package:flutter_test/flutter_test.dart';
10-
11-
import 'package:maily/main.dart';
12-
138
void main() {
149
// testWidgets('Counter increments smoke test', (WidgetTester tester) async {
1510
// // Build our app and trigger a frame.

0 commit comments

Comments
 (0)