Removed RTE script (#3067)

This commit is contained in:
Mauro
2024-07-19 10:09:57 +02:00
committed by GitHub
parent 3e005c8ba3
commit 9534bd2469
2 changed files with 0 additions and 33 deletions
-13
View File
@@ -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