x/mobile: Duplicate symbol '_OBJC_CLASS_$_Universeerror' #52039
Labels
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Environment
Xcode - 12.4
Language - Objective-C Project
Project Type - React Native
Issue
Converted a couple of go projects/libraries to iOS frameworks (.xc).

Trying to use those 2 in one iOS project but facing compiler issue like "Duplicate symbol 'OBJC_CLASS" which are related to objects of autogenerated files like Universe.objc.h.
Approach tried: 1
Did prefix binding of the go files
gomobile bind -target ios -prefix My
Result: Failed - Binder didn't bind the objects under Universe.objc.h. so the issue of duplicate symbols persists
Approach tried: 2
Update the linker flag config in Xcode
-objc
Result: Failed- The issue of duplicate symbols persists
The text was updated successfully, but these errors were encountered: