iOS does not support third-party standalone dynamic libraries. What you’re trying to do will work if you have a framework, so you need to place you dynamic library in a framework wrapper.
I'm a bit surprised as the exact same project was building just fine 1year ago... And the dynamic library is embedded into the application bundle, shouldn't it be ok ? Is this something that changed recently ?