Unverified Commit e960d773 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

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

parent 13a5d108
...@@ -45,6 +45,7 @@ Future<void> main() async { ...@@ -45,6 +45,7 @@ Future<void> main() async {
'lint', 'lint',
objcPodspecPath, objcPodspecPath,
'--allow-warnings', '--allow-warnings',
'--verbose',
], ],
environment: <String, String>{ environment: <String, String>{
'LANG': 'en_US.UTF-8', 'LANG': 'en_US.UTF-8',
...@@ -63,6 +64,7 @@ Future<void> main() async { ...@@ -63,6 +64,7 @@ Future<void> main() async {
objcPodspecPath, objcPodspecPath,
'--allow-warnings', '--allow-warnings',
'--use-libraries', '--use-libraries',
'--verbose',
], ],
environment: <String, String>{ environment: <String, String>{
'LANG': 'en_US.UTF-8', 'LANG': 'en_US.UTF-8',
......
...@@ -18,6 +18,6 @@ Pod::Spec.new do |s| ...@@ -18,6 +18,6 @@ Pod::Spec.new do |s|
s.dependency 'Flutter' s.dependency 'Flutter'
s.platform = :ios, '8.0' s.platform = :ios, '8.0'
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. # Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
end end
...@@ -17,7 +17,7 @@ Pod::Spec.new do |s| ...@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
s.dependency 'Flutter' s.dependency 'Flutter'
s.platform = :ios, '8.0' s.platform = :ios, '8.0'
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. # Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.swift_version = '5.0' s.swift_version = '5.0'
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment