简体   繁体   English

Qt-从XCode上传到MacOS AppStore

[英]Qt - upload to MacOS AppStore from XCode

Is there anyone who can upload Qt project from XCode to MacOS AppStore ? 有没有人可以将Qt项目从XCode上传到MacOS AppStore?

I'm deploying to iOS AppStore from XCode using -spec macx-xcode for qmake. 我正在使用-spec macx-xcode for qmake从XCode部署到iOS AppStore。

However, I have problem deploying to OSX AppStore using the same method, it seems that no Qt libraries are copied into .pkg/app file. 但是,使用相同的方法部署到OSX AppStore时遇到问题,似乎没有Qt库被复制到.pkg / app文件中。

Application compiles fine, runs on Mac, passes validation but crashes during Apple Review (can't load QtPrintSupport). 应用程序可以很好地编译,可以在Mac上运行,可以通过验证,但是在Apple Review期间崩溃(无法加载QtPrintSupport)。

When I export app from XCode I can't see Frameworks directory in Contents. 当我从XCode导出应用程序时,在目录中看不到Frameworks目录。

I can see Qt Framework in XCode in "General" tab under "Linked Frameworks and Libraries". 我可以在“链接的框架和库”下的“常规”选项卡中的XCode中看到Qt框架。

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" . 我也尝试过在“构建阶段”或“常规”选项卡中嵌入框架,但是代码签名“退出代码1失败”时出现错误。 It looks like it is trying to sign QtPrintSupport_debug 似乎正在尝试签署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 ? 将Qt项目导出到XCode,然后编译并上传到AppStore在iOS上运行良好,也许应该在macOS上工作,而我只是在犯一些错误?

Best Regards 最好的祝福

Marek 马雷克

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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