iOS simulator: could not hardlink copy. Wrong path in my filesystem?

前端 未结 11 952
日久生厌
日久生厌 2021-01-07 22:48

I am using Xcode Version 6.1 (6A1052d)

I am trying to launch an app on the simulator.

The first time it always works fine. If I want to launch a second time,

11条回答
  •  囚心锁ツ
    2021-01-07 23:00

    This fixed it for me:

    SIMULATOR_NAME="iPad Air 2"
    # Erase a device's contents and settings
    xcrun simctl erase "${SIMULATOR_NAME}"
    

    Thanks to https://encyclopediaofdaniel.com/blog/xcode-6-reset-simulators-from-the-command-line/ for the explanation!

    My env: xcode 8.3.1 iOS 10.3 (14E269) SIMULATOR_NAME="iPad Air 2"

提交回复
热议问题