Skip to content

Commit 4d690ba

Browse files
committed
wip run on iOS
1 parent ade2666 commit 4d690ba

File tree

12 files changed

+225
-1001
lines changed

12 files changed

+225
-1001
lines changed

.idea/libraries/Dart_Packages.xml

Lines changed: 40 additions & 334 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Dart_SDK.xml

Lines changed: 22 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/other.xml

Lines changed: 0 additions & 549 deletions
This file was deleted.

.idea/workspace.xml

Lines changed: 12 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/app/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ subprojects {
2323
project.buildDir = "${rootProject.buildDir}/${project.name}"
2424
}
2525

26-
// To Fix "Namespace not specified" for isar_flutter_libs pacakge
26+
// To Fix "Namespace not specified" for isar_flutter_libs package
2727
subprojects {
2828
afterEvaluate { project ->
2929
if (project.hasProperty('android')) {

apps/app/ios/Podfile

Lines changed: 12 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '9.0'
1+
use_modular_headers!
2+
#platform :ios, '13.0
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@@ -29,7 +29,6 @@ flutter_ios_podfile_setup
2929

3030
target 'Runner' do
3131
use_frameworks!
32-
use_modular_headers!
3332

3433
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
3534
end
@@ -44,60 +43,18 @@ post_install do |installer|
4443
installer.pods_project.targets.each do |target|
4544
flutter_additional_ios_build_settings(target)
4645

47-
# Start of the permission_handler configuration
4846
target.build_configurations.each do |config|
47+
definitions = config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] || ['$(inherited)']
4948

50-
# You can enable the permissions needed here. For example to enable camera
51-
# permission, just remove the `#` character in front so it looks like this:
52-
#
53-
# ## dart: PermissionGroup.camera
54-
# 'PERMISSION_CAMERA=1'
55-
#
56-
# Preprocessor definitions can be found in: https://github.com/Baseflow/flutter-permission-handler/blob/master/permission_handler_apple/ios/Classes/PermissionHandlerEnums.h
57-
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
58-
'$(inherited)',
59-
60-
## dart: PermissionGroup.calendar
61-
# 'PERMISSION_EVENTS=1',
62-
63-
## dart: PermissionGroup.reminders
64-
# 'PERMISSION_REMINDERS=1',
65-
66-
## dart: PermissionGroup.contacts
67-
# 'PERMISSION_CONTACTS=1',
68-
69-
## dart: PermissionGroup.camera
70-
# 'PERMISSION_CAMERA=1',
71-
72-
## dart: PermissionGroup.microphone
73-
# 'PERMISSION_MICROPHONE=1',
74-
75-
## dart: PermissionGroup.speech
76-
# 'PERMISSION_SPEECH_RECOGNIZER=1',
77-
78-
## dart: PermissionGroup.photos
79-
# 'PERMISSION_PHOTOS=1',
80-
81-
## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]
49+
definitions += [
50+
## dart: PermissionGroup.location
8251
'PERMISSION_LOCATION=1',
8352

84-
## dart: PermissionGroup.notification
85-
# 'PERMISSION_NOTIFICATIONS=1',
86-
87-
## dart: PermissionGroup.mediaLibrary
88-
# 'PERMISSION_MEDIA_LIBRARY=1',
89-
90-
## dart: PermissionGroup.sensors
91-
# 'PERMISSION_SENSORS=1',
92-
93-
## dart: PermissionGroup.bluetooth
94-
# 'PERMISSION_BLUETOOTH=1',
95-
96-
## dart: PermissionGroup.appTrackingTransparency
97-
# 'PERMISSION_APP_TRACKING_TRANSPARENCY=1',
98-
99-
## dart: PermissionGroup.criticalAlerts
100-
# 'PERMISSION_CRITICAL_ALERTS=1'
53+
## Enable more as needed
54+
# 'PERMISSION_CAMERA=1',
10155
]
102-
end
103-
end
56+
57+
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = definitions
58+
end # <-- closes config.build_settings.each
59+
end # <-- closes installer.pods_project.targets.each
60+
end # <-- closes post_install

apps/app/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 51;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -173,7 +173,7 @@
173173
97C146E61CF9000F007C117D /* Project object */ = {
174174
isa = PBXProject;
175175
attributes = {
176-
LastUpgradeCheck = 1020;
176+
LastUpgradeCheck = 1510;
177177
ORGANIZATIONNAME = "";
178178
TargetAttributes = {
179179
97C146ED1CF9000F007C117D = {
@@ -183,7 +183,7 @@
183183
};
184184
};
185185
buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
186-
compatibilityVersion = "Xcode 9.3";
186+
compatibilityVersion = "Xcode 13.0";
187187
developmentRegion = en;
188188
hasScannedForEncodings = 0;
189189
knownRegions = (
@@ -240,10 +240,12 @@
240240
};
241241
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
242242
isa = PBXShellScriptBuildPhase;
243+
alwaysOutOfDate = 1;
243244
buildActionMask = 2147483647;
244245
files = (
245246
);
246247
inputPaths = (
248+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
247249
);
248250
name = "Thin Binary";
249251
outputPaths = (
@@ -271,6 +273,7 @@
271273
};
272274
9740EEB61CF901F6004384FC /* Run Script */ = {
273275
isa = PBXShellScriptBuildPhase;
276+
alwaysOutOfDate = 1;
274277
buildActionMask = 2147483647;
275278
files = (
276279
);
@@ -375,7 +378,7 @@
375378
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
376379
GCC_WARN_UNUSED_FUNCTION = YES;
377380
GCC_WARN_UNUSED_VARIABLE = YES;
378-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
381+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
379382
MTL_ENABLE_DEBUG_INFO = NO;
380383
SDKROOT = iphoneos;
381384
SUPPORTED_PLATFORMS = iphoneos;
@@ -399,7 +402,7 @@
399402
"$(PROJECT_DIR)/Flutter",
400403
);
401404
INFOPLIST_FILE = Runner/Info.plist;
402-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
405+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
403406
LD_RUNPATH_SEARCH_PATHS = (
404407
"$(inherited)",
405408
"@executable_path/Frameworks",
@@ -464,7 +467,7 @@
464467
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
465468
GCC_WARN_UNUSED_FUNCTION = YES;
466469
GCC_WARN_UNUSED_VARIABLE = YES;
467-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
470+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
468471
MTL_ENABLE_DEBUG_INFO = YES;
469472
ONLY_ACTIVE_ARCH = YES;
470473
SDKROOT = iphoneos;
@@ -513,7 +516,7 @@
513516
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
514517
GCC_WARN_UNUSED_FUNCTION = YES;
515518
GCC_WARN_UNUSED_VARIABLE = YES;
516-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
519+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
517520
MTL_ENABLE_DEBUG_INFO = NO;
518521
SDKROOT = iphoneos;
519522
SUPPORTED_PLATFORMS = iphoneos;
@@ -539,7 +542,7 @@
539542
"$(PROJECT_DIR)/Flutter",
540543
);
541544
INFOPLIST_FILE = Runner/Info.plist;
542-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
545+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
543546
LD_RUNPATH_SEARCH_PATHS = (
544547
"$(inherited)",
545548
"@executable_path/Frameworks",
@@ -573,7 +576,7 @@
573576
"$(PROJECT_DIR)/Flutter",
574577
);
575578
INFOPLIST_FILE = Runner/Info.plist;
576-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
579+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
577580
LD_RUNPATH_SEARCH_PATHS = (
578581
"$(inherited)",
579582
"@executable_path/Frameworks",
@@ -617,4 +620,4 @@
617620
/* End XCConfigurationList section */
618621
};
619622
rootObject = 97C146E61CF9000F007C117D /* Project object */;
620-
}
623+
}

apps/app/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 2 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 = "1020"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -48,6 +48,7 @@
4848
ignoresPersistentStateOnLaunch = "NO"
4949
debugDocumentVersioning = "YES"
5050
debugServiceExtension = "internal"
51+
enableGPUValidationMode = "1"
5152
allowLocationSimulation = "YES">
5253
<BuildableProductRunnable
5354
runnableDebuggingMode = "0">

0 commit comments

Comments
 (0)