I had to run RunLoop.current.run() at the end of my script for it to run the asynchronous code.
Post
Replies
Boosts
Views
Activity
Actually, it worked for me on Xcode Beta 3, but when I moved to beta 4, I couldn't get the devices working, getting the same error as andytomg. Hope it'll be fixed soon!