ios build error duplicate symbol _main

Hello. Im having trouble making an ios build with pun2 and photon voice 2.
the problem is that when i build it, xcode throws an error "duplicate symbol _main"

well it turns out that the webrtc-audio.a library is having a class named "" that contains the method (int main()" and is conflicting with ios's main method.

here are 2 screenshots from my xcode project

what i tried is to make an empty unity project and import photon voice plugin and build for ios. It seemlesly runs on ios....i was confused that why its working here? :| so then i copied the complete "Photon" folder from my new project and then replaced it in my working project. but the xcode error still persists even if i export a fresh xcode project
can somebody help me out in this issue?