diff --git a/ios/weibo_kit.podspec b/ios/weibo_kit.podspec index 3ee2afe..4060daa 100644 --- a/ios/weibo_kit.podspec +++ b/ios/weibo_kit.podspec @@ -24,6 +24,6 @@ A powerful Flutter plugin allowing developers to auth/share with natvie Android sp.dependency 'Weibo_SDK', '~> 3.3.0' end - # 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