I have a problem when I try to compile my project on real device. It says build succeeded and then I get the error below.
dyld: Library not loaded: @rpath/Agrume.framework/Agrume Referenced from: /var/containers/Bundle/Application/E3ABC8B5-A3C0-4FE3-B395-6A171C9E0EF6/myapp.app/myapp Reason: image not found (lldb)
I tried to add the framework in the settings Build Phases/Build settings but it doesn't work.
You are probably not embedding the framework in your application.
Look at the General settings for your application target. There should be a section called "embedded binaries". Add your linked framework to that, and it should be OK. Here's an example: