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 "click_annotate.cc" that contains the method (int main()" and is conflicting with ios's main method.
https://wing1.cs.ucla.edu/gitlab/tan/webrtc/blob/3d7a5007a72134ca8c066d9a3be52ef052e75b85/webrtc/modules/audio_processing/transient/click_annotate.cc


here are 2 screenshots from my xcode project
https://drive.google.com/file/d/1GpDCREOlg2zXb3MCJT1868JldT-E6lki/view?usp=sharing
https://drive.google.com/file/d/18j184aEy2FJM0YNhpj39oREOk1unuTZZ/view?usp=sharing

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?

Comments