Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
461 views
in Technique[技术] by (71.8m points)

xcode12 - Xcode 12 - Download more simulators runtime is empty

I can't add more simulator OS version in XCode 12, for example iOS 13, the list is empty:enter image description here

enter image description here

how can I add more simulatore with different ios version?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I had exact same problem, apple returns empty list of simulators. Here is what I did:

  1. First install xcode-install gem (follow readme):

    $ gem install xcode-install
    
  2. Then check what iOS simulators are available:

    $ xcversion simulators
    
  3. Finally install desired simulator i.e:

    $ xcversion simulators --install='iOS 13.5'
    

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...