Xcode7--坑无法运行iOS9以下的模拟器

时间:2023-11-12 08:57:44

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

解决办法

一、找到目标文件

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

二、拷贝到目标地址一和目标地址二。<即对应的模拟器路径下>

目标地址一

8.1目标地址二

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