Unable to open liblaunch_sim.dylib. Try reinstalling Xcode or the simulator


關於Xcode7 Beta報錯 simulator runtime is not available.

 

Unable to open liblaunch_sim.dylib Try reinstalling Xcode or the simulator runtime.

 

 

 

解決辦法

一、找到目標文件

/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/host/liblaunch_sim.dylib

 

二、拷貝到目標地址一和目標地址二。

 

目標地址一

/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib

目標地址二

/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib

 

 

記得備份

 

成功運行模擬器

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM