Jelajahi Sumber

fix deployment target issue in Podfile'

aidan 1 tahun lalu
induk
melakukan
990a0690ca
2 mengubah file dengan 9 tambahan dan 6 penghapusan
  1. 8 2
      eas.json
  2. 1 4
      ios/Podfile

+ 8 - 2
eas.json

@@ -9,15 +9,21 @@
         "gradleCommand": ":app:assembleDebug"
       },
       "ios": {
-        "buildConfiguration": "Debug"
+        "resourceClass": "m-medium"
       }
     },
     "preview": {
-      "distribution": "internal"
+      "distribution": "internal",
+      "ios": {
+        "resourceClass": "m-medium"
+      }
     },
     "production": {
       "android": {
         "image": "latest"
+      },
+      "ios": {
+        "resourceClass": "m-medium"
       }
     }
   },

+ 1 - 4
ios/Podfile

@@ -50,12 +50,9 @@ end
 
     installer.pods_project.targets.each do |target|
       target.build_configurations.each do |config|
-        if Gem::Version.new('8.0') > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
-          config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0'
-        end
+        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
       end
     end
-    # __apply_Xcode_12_5_M1_post_install_workaround(installer)
 
     # This is necessary for Xcode 14, because it signs resource bundles by default
     # when building for devices.