gpt4 book ai didi

iphone - ios 模拟器在 xcode 6 中出现并带有 UDID

转载 作者:行者123 更新时间:2023-12-03 18:16:10 24 4
gpt4 key购买 nike

当我从 xcode 6 选择模拟器时,我会得到多个选择模拟器的选项,但模拟器带有 UDID。请看下面的图片并请帮帮我。提前致谢。

enter image description here

最佳答案

<del>killall Xcode</del>
- Kills all running Xcode processes.
<del>sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService</del>
- Kills all running CoreSimulatorService's processes.
<del>rm -rf ~/Library/Developer/CoreSimulator/Devices</del>
- Removes all Simulator data, from all the Simulators.
<del>open /Applications/Xcode.app</del> - Opens Xcode.
<小时/>

上述步骤在 xcode 10 中无效,请使用以下步骤:

xcrun simctl shutdown all
关闭所有设备

xcrun simctl list devices|grep -v "unavailable"|grep -Eo "[0-9A-F\-]{36}"
列出所有可用设备

xcrun simctl list devices|grep -v "unavailable"|grep -Eo "[0-9A-F\-]{36}"|xargs xcrun simctl delete 删除所有设备(注意:这是一行)

更多详细信息xcrun simctl help

关于iphone - ios 模拟器在 xcode 6 中出现并带有 UDID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26211593/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com