简体   繁体   English

Swift Cocoa App 应用无法打开

[英]Swift Cocoa App The application can't be opened

I've developed a macOS app written with Swift.我开发了一个用 Swift 编写的macOS应用程序。 For testing I archived then Distribute for AppStore and export it.为了测试,我存档然后Distribute到 AppStore 并导出它。 The exported folder includes MyApp.pkg file then I zipped .pkg file and send it to testers.导出的文件夹包括MyApp.pkg文件,然后我压缩了.pkg文件并将其发送给测试人员。 But when app is installed and they try to open it there is an error with The application can't be opened .但是当应用程序安装并尝试打开它时The application can't be opened打开时出现错误。

In my current development laptop, it works but in testers not working.在我目前的开发笔记本电脑中,它可以工作,但在测试人员中不起作用。 I try to execute it with我尝试执行它

chmod +x "/MyApp.app/Contents/MacOS/MyApp" but there is no response. chmod +x "/MyApp.app/Contents/MacOS/MyApp"但没有响应。

How can I solve the problem for working it in testers laptops.如何解决在测试人员笔记本电脑上工作的问题。

Thanks in advance!提前致谢!

An app archived and then distributed for the App Store cannot be sent directly to testers.为 App Store 存档然后分发的应用程序不能直接发送给测试人员。 It must be downloaded from the App Store.它必须从 App Store 下载。 A pkg file is useless to individuals. pkg 文件对个人毫无用处。 You need to distribute for people, Send them an app.您需要为人们分发,向他们发送应用程序。 not a pkg.不是pkg。

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

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