Genymotion crash on start in OSX

前端 未结 4 1685
囚心锁ツ
囚心锁ツ 2020-12-15 07:33

I\'m use Mac OS El Capitan 10.11.5

Installed VirtualBox 5.0.24

Genymotion 2.7.2

And when i\'m starting Genymotion i get crash -- see image:-

4条回答
  •  醉梦人生
    2020-12-15 07:48

    Just figured out how to force Genymotion 2.7.2 to work on OS X.

    You should have Genymotion 2.7.2 and homebrew installed.

    brew install openssl
    

    or if you have it already installed

    brew upgrade openssl
    brew cleanup 
    

    remember: find returns a list (old homebrew packages will be included), so if you have several homebrew openssl versions you should skip third command (cp find stage) and copy openssl dylib manually

    Fix for: Genymotion.app

    cd /Applications/Genymotion.app/Contents/Frameworks  
    mv libcrypto.1.0.0.dylib libcrypto.1.0.0.dylib.bak
    sudo cp `find /usr/local/Cellar/openssl -name libcrypto.1.0.0.dylib` /Applications/Genymotion.app/Contents/Frameworks/
    

    Fix for: Genymotion Shell.app

    cd /Applications/Genymotion\ Shell.app/Contents/Frameworks
    mv libcrypto.1.0.0.dylib libcrypto.1.0.0.dylib.bak
    sudo cp `find /usr/local/Cellar/openssl -name libcrypto.1.0.0.dylib` /Applications/Genymotion\ Shell.app/Contents/Frameworks/
    

    P.S.: It seems that libcrypto.1.0.0.dylib in Genymotion 2.7.0 - 2.7.2 was built for Sandy Bridge or newer CPU's and crashing on instruction vxorps %xmm0, %xmm0, %xmm0

    EDIT: missed commands to update embedded player.app (genymotion VM tool), but we need to update it too... if we want to run VM's ;-)

    Fix for: player.app

    cd /Applications/Genymotion.app/Contents/MacOS/player.app/Contents/Frameworks  
    mv libcrypto.1.0.0.dylib libcrypto.1.0.0.dylib.bak
    sudo cp `find /usr/local/Cellar/openssl -name libcrypto.1.0.0.dylib` /Applications/Genymotion.app/Contents/MacOS/player.app/Contents/Frameworks/
    

    Now Genymotion 2.7.2 works

提交回复
热议问题