Change iOS plugin simulator archs from allow list to deny list (#64504)

This commit is contained in:
Jenn Magder 2020-08-24 17:48:05 -07:00 committed by GitHub
parent 13a5d1086d
commit e960d773ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View File

@ -45,6 +45,7 @@ Future<void> main() async {
'lint',
objcPodspecPath,
'--allow-warnings',
'--verbose',
],
environment: <String, String>{
'LANG': 'en_US.UTF-8',
@ -63,6 +64,7 @@ Future<void> main() async {
objcPodspecPath,
'--allow-warnings',
'--use-libraries',
'--verbose',
],
environment: <String, String>{
'LANG': 'en_US.UTF-8',

View File

@ -18,6 +18,6 @@ Pod::Spec.new do |s|
s.dependency 'Flutter'
s.platform = :ios, '8.0'
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
end

View File

@ -17,7 +17,7 @@ Pod::Spec.new do |s|
s.dependency 'Flutter'
s.platform = :ios, '8.0'
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.swift_version = '5.0'
end