Starting the application on Mac does not work(拷贝platforms到不同的位置,才能解决问题)
Posted 朝闻道
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Starting the application on Mac does not work(拷贝platforms到不同的位置,才能解决问题)相关的知识,希望对你有一定的参考价值。
In some rare cases it can happen that the application does not launch and there is no reaction after double clicking on the application icon, not even the splash screen appears.
The following work-around might help in this case.
Verify issue
First please verify if the work-around applies to your issue:
- Launch the Terminal.app (in Applications/Utilities)
- Type the following and then hit enter:
/Applications/Dacuda\ PocketScan.app/Contents/MacOS/PocketScan - If the following message is displayed continue to the solution:
"This application failed to start because it could not find or load the Qt platform plugin "cocoa"." - If you do not see the message mentioned above the work-around will not be useful.
Apply work-around
- In the terminal type the following command:
sudo cp -r /Applications/Dacuda\ PocketScan.app/Contents/PlugIns/platforms /Applications/Dacuda\ PocketScan.app/Contents/MacOS/ - Enter your password
- Now the application should start normally
https://dac.zendesk.com/hc/en-us/articles/205023259-Starting-the-application-on-Mac-does-not-work
以上是关于Starting the application on Mac does not work(拷贝platforms到不同的位置,才能解决问题)的主要内容,如果未能解决你的问题,请参考以下文章
Error starting ApplicationContext. To display the conditions report re-run your application with
[转].Net Core Web应用发布至IIS后报“An error occurred while starting the application”错误
Error starting ApplicationContext. To display the conditions report re-run your application with
asp.net core发布到iis后出现An error occurred while starting the application