i2edu 4 år sedan
förälder
incheckning
14948c9a24
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4 1
      ios/flutter_ali_camera.podspec

+ 4 - 1
ios/flutter_ali_camera.podspec

@@ -28,5 +28,8 @@ A new Flutter plugin.
   s.static_framework = true
 
   # 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' }
+    s.pod_target_xcconfig = {
+      'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
+    }
+    s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
 end