In my case, the error is
Click on the error section to identify the target that is reporting the error (my case: share_plus)
Go to target -> build setting -> go to OTHER_LDFLAGS -> add $(inherited) if not already there -> clean build and rebuild