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

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

  • 相关阅读:
    JavaScript 获取来源地址
    JavaScript 调试&显示变量
    JavaScript Math对象
    JavaScript 封闭函数
    常见泛型委托
    使用BindingSource绑定数据库
    Case Reply
    RSS订阅
    ADO.NET
    泛型的优点
  • 原文地址:https://www.cnblogs.com/findumars/p/5534838.html
Copyright © 2011-2022 走看看