简体   繁体   中英

Qt - upload to MacOS AppStore from XCode

Is there anyone who can upload Qt project from XCode to MacOS AppStore ?

I'm deploying to iOS AppStore from XCode using -spec macx-xcode for qmake.

However, I have problem deploying to OSX AppStore using the same method, it seems that no Qt libraries are copied into .pkg/app file.

Application compiles fine, runs on Mac, passes validation but crashes during Apple Review (can't load QtPrintSupport).

When I export app from XCode I can't see Frameworks directory in Contents.

I can see Qt Framework in XCode in "General" tab under "Linked Frameworks and Libraries".

I have also tried to Embed Framework in "Build phases" or "General" tab but then there is an error with codesigning "failed with exit code 1" . It looks like it is trying to sign QtPrintSupport_debug

Exporting Qt project to XCode and then compiling and uploading to AppStore works fine for iOS, maybe it should work for macOS and I'm just making some error ?

Best Regards

Marek

将目录更改为可执行文件路径并运行“ macdeployqt”并完成发送到应用商店

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM