When doing unit tests in XCode I find that I cannot run code on the main thread from another thread. What is wrong with this code? The variable run is not res
run