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

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -