I have imported library in my app and using swift 5 but I am getting compilation errors and can't run the code.