From a27dad3d89ef0db023077cbd698d9a2b7d567705 Mon Sep 17 00:00:00 2001 From: Mauro Romito Date: Fri, 19 Jul 2024 09:58:50 +0200 Subject: [PATCH] removed rte script --- ElementX.xcodeproj/project.pbxproj | 20 -------------------- ElementX/SupportingFiles/target.yml | 13 ------------- 2 files changed, 33 deletions(-) diff --git a/ElementX.xcodeproj/project.pbxproj b/ElementX.xcodeproj/project.pbxproj index 55601573f5..adb691456e 100644 --- a/ElementX.xcodeproj/project.pbxproj +++ b/ElementX.xcodeproj/project.pbxproj @@ -5334,7 +5334,6 @@ 8E3CD0D0BB6697512E867C1D /* Embed Foundation Extensions */, 98CA896D84BFD53B2554E891 /* โš ๏ธ SwiftLint */, B35AB66424BB30087EEE408C /* ๐Ÿงน SwiftFormat */, - C3B6A7500AE6E2A21B1DF527 /* ๐Ÿ”ง Fix the Rich Text Editor */, ); buildRules = ( ); @@ -5701,25 +5700,6 @@ shellPath = /bin/sh; shellScript = "export PATH=\"$PATH:/opt/homebrew/bin\"\nif which swiftformat >/dev/null; then\n swiftformat --lint --lenient \"$PROJECT_DIR\"\nelse\n echo \"warning: SwiftFormat not installed, download from https://github.com/nicklockwood/SwiftFormat\"\nfi\n"; }; - C3B6A7500AE6E2A21B1DF527 /* ๐Ÿ”ง Fix the Rich Text Editor */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - ); - name = "๐Ÿ”ง Fix the Rich Text Editor"; - outputFileListPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "# The RTE XCFramework contains .frameworks instead of static libs. For some reason Xcode embeds the binary, but also\n# an empty framework containing a stub binary. This stub binary is generated for our app and so its version mismatches\n# the one declared by the XCFramework's Info.plist file (and we can't match it because of Element iOS). ASC doesn't like this.\nif [ \"$CONFIGURATION\" == \"Release\" ]; then\n # On the other hand local device builds detect a signature change, so only do this when in Release mode.\n # Not ideal but helps us most of the time and we can remove this run phase locally if needed.\n /usr/libexec/PlistBuddy -c \"Set :MinimumOSVersion ${IPHONEOS_DEPLOYMENT_TARGET}\" ${BUILT_PRODUCTS_DIR}/ElementX.app/Frameworks/WysiwygComposerFFI.framework/Info.plist\nfi\n"; - }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ diff --git a/ElementX/SupportingFiles/target.yml b/ElementX/SupportingFiles/target.yml index d286c0d57e..bdf3347e80 100644 --- a/ElementX/SupportingFiles/target.yml +++ b/ElementX/SupportingFiles/target.yml @@ -174,19 +174,6 @@ targets: else echo "warning: SwiftFormat not installed, download from https://github.com/nicklockwood/SwiftFormat" fi - - name: ๐Ÿ”ง Fix the Rich Text Editor - runOnlyWhenInstalling: false - basedOnDependencyAnalysis: false - shell: /bin/sh - script: | - # The RTE XCFramework contains .frameworks instead of static libs. For some reason Xcode embeds the binary, but also - # an empty framework containing a stub binary. This stub binary is generated for our app and so its version mismatches - # the one declared by the XCFramework's Info.plist file (and we can't match it because of Element iOS). ASC doesn't like this. - if [ "$CONFIGURATION" == "Release" ]; then - # On the other hand local device builds detect a signature change, so only do this when in Release mode. - # Not ideal but helps us most of the time and we can remove this run phase locally if needed. - /usr/libexec/PlistBuddy -c "Set :MinimumOSVersion ${IPHONEOS_DEPLOYMENT_TARGET}" ${BUILT_PRODUCTS_DIR}/ElementX.app/Frameworks/WysiwygComposerFFI.framework/Info.plist - fi dependencies: - target: NSE