Procházet zdrojové kódy

fix deployment target issue in Podfile'

aidan před 1 rokem
rodič
revize
990a0690ca
2 změnil soubory, kde provedl 9 přidání a 6 odebrání
  1. 8 2
      eas.json
  2. 1 4
      ios/Podfile

+ 8 - 2
eas.json

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

+ 1 - 4
ios/Podfile

@@ -50,12 +50,9 @@ end
 
 
     installer.pods_project.targets.each do |target|
     installer.pods_project.targets.each do |target|
       target.build_configurations.each do |config|
       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
     end
     end
-    # __apply_Xcode_12_5_M1_post_install_workaround(installer)
 
 
     # This is necessary for Xcode 14, because it signs resource bundles by default
     # This is necessary for Xcode 14, because it signs resource bundles by default
     # when building for devices.
     # when building for devices.