Skip to content

Commit a12765d

Browse files
committed
🔧 Update Podfile & other files config
1 parent 1961d7d commit a12765d

File tree

5 files changed

+85
-127
lines changed

5 files changed

+85
-127
lines changed

‎ios/Flutter/Generated.xcconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ FLUTTER_APPLICATION_PATH=/Users/rootasjey/GitHub/fig.style
44
FLUTTER_TARGET=lib/main.dart
55
FLUTTER_BUILD_DIR=build
66
SYMROOT=${SOURCE_ROOT}/../build/ios
7-
FLUTTER_BUILD_NAME=2.72.0
7+
FLUTTER_BUILD_NAME=2.73.0
88
FLUTTER_BUILD_NUMBER=13
99
DART_OBFUSCATION=false
1010
TRACK_WIDGET_CREATION=false
11-
TREE_SHAKE_ICONS=false
12-
PACKAGE_CONFIG=.packages
11+
TREE_SHAKE_ICONS=true
12+
PACKAGE_CONFIG=/Users/rootasjey/GitHub/fig.style/.dart_tool/package_config.json

‎ios/Flutter/flutter_export_environment.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ export "FLUTTER_APPLICATION_PATH=/Users/rootasjey/GitHub/fig.style"
55
export "FLUTTER_TARGET=lib/main.dart"
66
export "FLUTTER_BUILD_DIR=build"
77
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
8-
export "FLUTTER_BUILD_NAME=2.72.0"
8+
export "FLUTTER_BUILD_NAME=2.73.0"
99
export "FLUTTER_BUILD_NUMBER=13"
1010
export "DART_OBFUSCATION=false"
1111
export "TRACK_WIDGET_CREATION=false"
12-
export "TREE_SHAKE_ICONS=false"
13-
export "PACKAGE_CONFIG=.packages"
12+
export "TREE_SHAKE_ICONS=true"
13+
export "PACKAGE_CONFIG=/Users/rootasjey/GitHub/fig.style/.dart_tool/package_config.json"

‎ios/Podfile‎

Lines changed: 2 additions & 50 deletions
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, '10.0'
2+
platform :ios, '10.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@@ -39,56 +39,8 @@ target 'OneSignalNotificationServiceExtension' do
3939
pod 'OneSignal', '>= 2.9.3', '< 3.0'
4040
end
4141

42-
#post_install do |installer|
43-
# installer.pods_project.targets.each do |target|
44-
# flutter_additional_ios_build_settings(target)
45-
# end
46-
#end
4742
post_install do |installer|
4843
installer.pods_project.targets.each do |target|
49-
target.build_configurations.each do |config|
50-
config.build_settings['SWIFT_VERSION'] = '5.0'
51-
config.build_settings['ENABLE_BITCODE'] = 'YES'
52-
53-
# You can remove unused permissions here
54-
# for more infomation: https://github.com/BaseflowIT/flutter-permission-handler/blob/develop/permission_handler/ios/Classes/PermissionHandlerEnums.h
55-
# e.g. when you don't need camera permission, just add 'PERMISSION_CAMERA=0'
56-
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
57-
'$(inherited)',
58-
59-
## dart: PermissionGroup.calendar
60-
'PERMISSION_EVENTS=0',
61-
62-
## dart: PermissionGroup.reminders
63-
'PERMISSION_REMINDERS=0',
64-
65-
## dart: PermissionGroup.contacts
66-
'PERMISSION_CONTACTS=0',
67-
68-
## dart: PermissionGroup.camera
69-
'PERMISSION_CAMERA=0',
70-
71-
## dart: PermissionGroup.microphone
72-
'PERMISSION_MICROPHONE=0',
73-
74-
## dart: PermissionGroup.speech
75-
'PERMISSION_SPEECH_RECOGNIZER=0',
76-
77-
## dart: PermissionGroup.photos
78-
# 'PERMISSION_PHOTOS=0',
79-
80-
## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]
81-
'PERMISSION_LOCATION=0',
82-
83-
## dart: PermissionGroup.notification
84-
# 'PERMISSION_NOTIFICATIONS=0',
85-
86-
## dart: PermissionGroup.mediaLibrary
87-
'PERMISSION_MEDIA_LIBRARY=0',
88-
89-
## dart: PermissionGroup.sensors
90-
'PERMISSION_SENSORS=0'
91-
]
92-
end
44+
flutter_additional_ios_build_settings(target)
9345
end
9446
end

0 commit comments

Comments
 (0)