You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xcode - 12.4
Language - Objective-C Project
Project Type - React Native
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:
@cherrymui@changkun I've tried with Go 1.16 and 1.17 (1.18+ for some reason does not work, but that's a separate issue), followed the same logic as @KiranKumar6236 but didn't work. I think the best approach would be to be able to prefix those "base" classes (Universeerror) and other methods. Could you advise on the best way to achieve that?