@import SocketIO; giving error

Hello,

I am using Cocos2D-X 3.16 version with CPP. I want to use Socket.io library (https://github.com/socketio/socket.io-client-swift) which is written in swift. I have created demo in Objective-c and its working fine but when I am trying to integrate it in Cocos2D-X project with Cocoapod its giving me error.

“Expected unqualified-id” for @import SocketIO; in my .mm file.