fix plugin build with ios simulator

This commit is contained in:
willem
2021-10-12 11:23:57 +08:00
parent b126387fcf
commit 74f1c8a5ae
3 changed files with 3 additions and 2 deletions

View File

@@ -19,6 +19,6 @@ A new Flutter project.
s.vendored_frameworks = 'Framework/*.framework'
# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' }
s.swift_version = '5.0'
end