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

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

  • 相关阅读:
    SQL Server 索引基本概念与优化
    将Heap RID转换成RID格式
    有关DeadLock的文章列表
    sql报字段过大的错误解决方法
    查询当天数据(mysql)
    cookie和session的区别
    get和post的区别
    jq点击切换按钮最简洁代码
    js提示确认删除吗
    thinkphp解决分页后序列号自增的问题
  • 原文地址:https://www.cnblogs.com/findumars/p/5534838.html
Copyright © 2011-2022 走看看