You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Batch.xcodeproj/project.pbxproj
+1-1
Original file line number
Diff line number
Diff line change
@@ -3127,7 +3127,7 @@
3127
3127
);
3128
3128
runOnlyForDeploymentPostprocessing = 1;
3129
3129
shellPath = /bin/sh;
3130
-
shellScript = "# Work around an issue where release builds of Batch on Xcode 15.3 need to have\n# a very high Deployment target to pass validation\n# https://github.com/BatchLabs/Batch-iOS-SDK/issues/35\n# We can't override this when building so we need to patch the plist before it's bundled\n# in the xcframework or signed\nif [[ -z \"${IS_MACCATALYST}\" ]]; then\n # We are NOT in a catalyst environment: we only want to patch iOS/visionOS builds\n # We also do not want to patch simulator builds\n if [[ ${SDK_NAME} != *\"simulator\"* ]]; then\n echo \"Patching MinimumOSVersion to 100.0\"\n plutil -replace MinimumOSVersion -string 100.0 \"${BUILT_PRODUCTS_DIR}/Batch.framework/Info.plist\"\n fi\nfi\n \n";
3130
+
shellScript = "# Work around an issue where release builds of Batch on Xcode 15.3 need to have\n# a very high Deployment target to pass validation\n# https://github.com/BatchLabs/Batch-iOS-SDK/issues/35\n# We can't override this when building so we need to patch the plist before it's bundled\n# in the xcframework or signed\nINFO_PLIST_FILE=\"${BUILT_PRODUCTS_DIR}/Batch.framework/Info.plist\"\nif [ -f \"$INFO_PLIST_FILE\" ]; then\n # We are NOT in a catalyst environment: we only want to patch iOS/visionOS builds\n # We also do not want to patch simulator builds\n if [[ ${SDK_NAME} != *\"simulator\"* ]]; then\n echo \"Patching MinimumOSVersion to 100.0\"\n plutil -replace MinimumOSVersion -string 100.0 $INFO_PLIST_FILE\n fi\nfi\n \n";
0 commit comments