Open NicolasBuquet opened 1 month ago
It is essentially a problem Apple side.
But I think the Swift Package for matrix-wysiwyg-composer-swift
missed the version informations. It could be added in the package description.
A work around is to manually edit the faulty info.plist
file directly into the xcarchive generated, before uploading it to Apple.
info.plist
valid file :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>WysiwygComposerFFI</string>
<key>CFBundleIdentifier</key>
<string>org.matrix.WysiwygComposerFFI</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>MinimumOSVersion</key>
<string>15.0</string>
</dict>
</plist>
@pixlwave @giomfo FYI
Tchap issue: https://github.com/tchapgouv/tchap-ios/issues/1082
This is known and fixed on the RTE/EX (https://github.com/matrix-org/matrix-rich-text-editor/pull/1018). The EI project doesn't support Xcode 15.4 yet, please make sure you use the Xcode version specified in the Fastfile.
@NicolasBuquet Do I need to modify root info.plist file (Riot)? cause root info.plist already have all these keys defined
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
only MinimumOSVersion is missing here. adding MinimumOSVersion only does'nt fix the issue.
<key>MinimumOSVersion</key>
<string>15.0</string>
@Ashik55 Normaly, the Riot info.plist is complete.
Apple validation toolchain complains for embedded frameworks only.
You only need to complete de info.plist of faulty embedded frameworks.
But modify it once the archive is generated. You explore the archive until the frameworks
folder (you find the archive file with a right-click on the product in Xcode organizer), and then open the faulty framework folder, find and complete its info.plist.
You then upload the archive (via Xcode Organizer) to Apple.
@NicolasBuquet Thanks, after archiving when I open archived files as show package content. There's no folder for framwork. could you please guide me where will I get the framework folder?
@Ashik55
Look into > Product > Applications > App Bundle > Frameworks :
@NicolasBuquet Thanks, I found the info.plist & updated as you've suggested & now I am getting this error.
@NicolasBuquet any idea how can I resolve this?
@Ashik55 Maybe your main Bundle specify a "Minimum OS Version" higher than 15.0. You have to check (directly in Xcode, in the target panel properties).
And if its différent than 15.0, specifiy the same version in your framework.
Steps to reproduce
Update to Xcode 15.4. (it works as intended with Xcode 15.2)
Generate Archive and Validate it in Organizer.
Outcome
What did you expect?
The archive to be ok.
What happened instead?
The archive is not validated:
Your phone model
No response
Operating system version
No response
Application version
Element 1.11.6
Homeserver
No response
Will you send logs?
No