码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2016-05-27 16:27:34      阅读:168      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!