mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Fix an App Store error due to an RTE version mismatch. (#3029)
This commit is contained in:
@@ -174,6 +174,15 @@ 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).
|
||||
/usr/libexec/PlistBuddy -c "Set :MinimumOSVersion ${IPHONEOS_DEPLOYMENT_TARGET}" ${BUILT_PRODUCTS_DIR}/ElementX.app/Frameworks/WysiwygComposerFFI.framework/Info.plist
|
||||
|
||||
dependencies:
|
||||
- target: NSE
|
||||
|
||||
Reference in New Issue
Block a user