Class X is implemented in both Y and Z. One of the two will be used

后端 未结 4 497
眼角桃花
眼角桃花 2021-01-11 14:21

I\'ve got an objective-c \"tool\" (console) program that dynamically loads objective-c bundle\'s at runtime. Some of the bundle files share classes from the same framework s

4条回答
  •  星月不相逢
    2021-01-11 14:48

    If you developer of plugin bundle you can pass -undefined dynamic_lookup as other linker flags and remove all libraries from plugin which duplicates in both (in main binary and in plugin)

提交回复
热议问题