|
|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
# Uncomment this line to define a global platform for your project
|
|
|
|
|
platform :ios, '11.0'
|
|
|
|
|
platform :ios, '13.0'
|
|
|
|
|
|
|
|
|
|
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
|
|
|
|
|
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
|
|
|
|
|
@ -44,5 +44,18 @@ end
|
|
|
|
|
post_install do |installer|
|
|
|
|
|
installer.pods_project.targets.each do |target|
|
|
|
|
|
flutter_additional_ios_build_settings(target)
|
|
|
|
|
target.build_configurations.each do |build_configuration|
|
|
|
|
|
build_configuration.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
|
|
|
|
|
'$(inherited)',
|
|
|
|
|
## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]
|
|
|
|
|
'PERMISSION_CAMERA=1',
|
|
|
|
|
'PERMISSION_MICROPHONE=1',
|
|
|
|
|
]
|
|
|
|
|
build_configuration.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64 i386'
|
|
|
|
|
build_configuration.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
|
|
|
|
|
if build_configuration.build_settings['WRAPPER_EXTENSION'] == 'bundle'
|
|
|
|
|
build_configuration.build_settings['DEVELOPMENT_TEAM'] = '3A359E86ZF'
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|