Change iOS plugin simulator archs from allow list to deny list (#64504)
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user