xcrun unable to find simctl

后端 未结 8 1166
我寻月下人不归
我寻月下人不归 2020-11-30 21:54

Attempting:

xcrun simctl 

in terminal yields:

xcrun: error: unable to find utility \"simctl\", not a de

相关标签:
8条回答
  • 2020-11-30 22:28

    adding xcode in preference-> locations works fine

    0 讨论(0)
  • 2020-11-30 22:30

    If you are interested in command line "approach", please try: installer -pkg /Applications/Xcode.app/Contents/Resources/Packages/XcodeSystemResources.pkg -target /. In addition, please make sure that xcode-select -s selected right Xcode installation path.

    0 讨论(0)
  • 2020-11-30 22:34

    I solved this problem by entering

    Xcode > Preferences > Locations 
    

    And assigning the Command Line Tools

    This is in Xcode Version 7.2 beta (7C46t)

    0 讨论(0)
  • 2020-11-30 22:37

    In Terminal, try this.

    sudo xcode-select -s /Applications/Xcode.app
    

    /Applications/Xcode.app is your Xcode.app path.

    if U still get error in terminal.

    try sudo xcodebuild -license to agree license.

    0 讨论(0)
  • 2020-11-30 22:38

    While running Xcode, open the Xcode menu, go to Preferences…, then select Locations

    In Locations, "Command Line Tools", choose your version of Xcode.

    It should be fine. This worked for me.

    0 讨论(0)
  • 2020-11-30 22:42

    [Got similar issue on executing command ./Scripts/bootstrap.sh -d.This helped me Xcode > Preferences > Locations,Set Command line Tools

    0 讨论(0)
提交回复
热议问题