首页 > 移动平台 > 详细

Starting the application on Mac does not work(拷贝platforms到不同的位置,才能解决问题)

时间:2016-05-27 16:27:09      阅读:308      评论:0      收藏:0      [点我收藏+]

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到不同的位置,才能解决问题)

原文:http://www.cnblogs.com/findumars/p/5534838.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!