How do I reset the simulator used by an Xcode bot? -


the simulator instance i'm using left in inconsistent state after continuous integration run, how reset it?

it not seem resetting simulator runs in normal user account on build server reset simulator used bots (which run under restricted _xcsbuild user.)

inspired this gist, run script "before integration" trigger on bot:

/usr/bin/osascript -e 'tell application "ios simulator" quit' /usr/bin/osascript -e 'tell application "simulator" quit' /usr/bin/xcrun simctl erase 

... , dupe radar 24091918 add "all" valid argument xcrun simctl shutdown.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -