zoukankan      html  css  js  c++  java
  • Starting the application on Mac does not work(拷贝platforms到不同的位置,才能解决问题),还可设置DYLD_PRINT_LIBRARIES=1 观察动态库

    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

    另外,设置 

    export DYLD_PRINT_LIBRARIES=1

    可以观察命令行所需的动态库

  • 相关阅读:
    centos7 修复引导
    Django 过滤器
    Django 面向对象orm
    Django models字段查询谓词表
    linux常用的监控命令
    常用SQL语句
    python实现FTP服务器
    用python做一个图片验证码
    rsync
    jsonp的理解
  • 原文地址:https://www.cnblogs.com/findumars/p/5534838.html
Copyright © 2011-2022 走看看