Peter Zignego I checked that out. I am still quite unknowledgeable on server side swift and how it works. I followed your example in this tutorial. Then I tested out that snippet from the README file. I realised that the way the server works has changed now and my swift code was exiting even when server?.start() was being called. I forgot to include the line RunLoop.main.run() at the end of the main.swift file. Thanks for your response :)

Senior iOS Engineer @ Onfido. Writing weekly blogs on iOS and programming. Follow me to stay tuned!

Senior iOS Engineer @ Onfido. Writing weekly blogs on iOS and programming. Follow me to stay tuned!