Change .defaultRunLoopMode to RunLoop.Mode.default in library
Change .defaultRunLoopMode to RunLoop.Mode.default in library