Error after updating sdkbox

Hi

I am getting this error after updating sdkbox like this

update sdkbox

error is

ld: file not found: -stdlib=libc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Please help…

I had removed -ObjC flag from other linker flags.

Now i added it, so i am getting this error -

ld: file not found: -ObjC
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anyone tell what is the cause of this error.

Can you show all of your linker flags? What SDKBOX plugins are you using?

Linker flag screen shot. I am using sdkbox iap and fyber.

Can you take a screenshot of your linker flag, looks like they’re out of order.

linker flag screen shot:

If you are using Fyber , I think you should do this:

-force_load PluginFyber.framework/PluginFyber 

IAP doesn’t have any linker flags for it.

i modified it,

but now i am getting this error -

duplicate symbol __Z25FYB_getRootViewControllerv in:
PluginFyber.framework/PluginFyber(FyberWrapper-ios.o)
/Users/mihir/Desktop/Treesforlife/proj.ios_mac/PluginFyber.framework/PluginFyber(FyberWrapper-ios.o)
duplicate symbol __ZN6sdkbox12FyberWrapper17showRewardedVideoEv in:
PluginFyber.framework/PluginFyber(FyberWrapper-ios.o)
/Users/mihir/Desktop/Treesforlife/proj.ios_mac/PluginFyber.framework/PluginFyber(FyberWrapper-ios.o)
duplicate symbol __ZN6sdkbox12FyberWrapper15requestLocationEv in:
PluginFyber.framework/PluginFyber(FyberWrapper-ios.o)
/Users/mihir/Desktop/Treesforlife/proj.ios_mac/PluginFyber.framework/PluginFyber(FyberWrapper-ios.o)

ld: 636 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

this are just 3 of them, actually there are lots of them.

i verified it there is only 1 framework and only added once in library,

Can you tell how to solve this, or should i copy my files to new project n setup again?

Please see this sample as reference
https://github.com/sdkbox/sdkbox-fyber-sample

and take a run through this: http://sdkbox-doc.github.io/en/plugins/fyber/v3-cpp/

and make sure that it seems that you are adhering to it.