Now that we are in swift 5 [perhaps soon to be 6] the code needs to be updated to work with all the new API calls, as well as changes to Xcode.