Signing and Sandbox errors when submitting to Apple Store! Please help!
-
Hi everyone, I've been trying for a few days and still getting the same errors from Apple Store Connect.
Could someone please advice me if it's actually possible to submit a Qt app to the Apple Store?
I've got the app to pass the Validation in XCode, but after I uploaded to Apple Store Connect using the Organiser in Xcode, I'd get an email with errors, ITMS-90238: Invalid Signature on a long list of plugins, and then ITMS-90296: App sandbox not enabled.
I've added the Sandbox capability in Xcode and have the entry in the entitlement file. The app even shows Sandbox Yes in Activity Monitor.
I generate an Xcode project using qmake, then use Xcode to sign and upload.
I tried both manually selecting the profile and letting Xcode manage signing automatically. I've tried both Distribution profiles and Development profiles.
It seems to only pass Xcode's validation if I used the --deep flag in Other Code Signing Flags. Then I read online that it's not recommended. So I've tried using macdeployqt's -codesign option. It passed the validations but still gives the same error. This is how I'm using macdeployqtmacdeployqt myapp.app -qmldir="$SOURCE_DIR"/qml -always-overwrite -appstore-compliant -codesign="$SIGNING_CERT"
Any advice would be much appreciated!!
I'm on macOS Sonoma 14.0, Apple M2, Qt 6.5.3
-
Ok I managed to get it through to App Store Connect! Had to replace the call to macdeployqt with Xcode's equivalents :( Got some helpful info from Apple, details on this thread if anyone's interested https://developer.apple.com/forums/thread/740606
-