Xcode更新后找不到Simulator

2024-01-09  本文已影响0人  斌小狼
  1. 官网下载对应的Simulator.dmg
    示例.png
  2. 双击 iOS_xx_Simulator_Runtime.dmg 文件,等待打开后,逐层找到 Runtimes 文件夹。
  3. 前往 Xcode的Simulator管理文件夹

终端

open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles

或者

command+shift+G

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles

或者

选择 Xcode App,然后右击选择 显示包内容,通过 Contents —> Developer —> Platforms —> iPhoneOS.platform —> Library —> Developer —> CoreSimulator,找到 Profiles 文件夹。

4.将第 2 步的 Runtimes 文件夹拷贝到第 3 步的 Profiles 文件夹中。
5.重启Xcode即可

已经显示
上一篇下一篇

猜你喜欢

热点阅读