问题
My XCode simulators names started appearing with simulators identifiers (like iPad Air - xxxxxxxxxxxxx
) instead of iOS versions in simulator selections menu, How can I fix it correctly?
Is there anyway to recreate all simulators automatically?
Thanks,
回答1:
Script to recreate XCode Simulators
I found following solution to recreate XCode simulators automatically and its works like a charm.
For XCode7 : https://gist.github.com/cabeca/3ff77007204e5479f7af
For XCode 6 : https://gist.github.com/cabeca/cbaacbeb6a1cc4683aa5
Steps to run script:
1- Copy and past script in a file, name it 'resetSims.rb'
2- Run script in terminal by using command : ruby /Users/xxx/Desktop/resetSims.rb
Ref : How to execute a Ruby script in Terminal?
来源:https://stackoverflow.com/questions/35599868/xcode-simulators-how-to-recreate-simulators-automatically