Edit: Couldn't solve it with the answers in the duplicate question and the other answers posted here, but ended up copying the source code of the library directly in my project. This way, it works.
I'm having the following runtime error when trying to run my app with AnyFormatKit library:
dyld: Library not loaded: @rpath/AnyFormatKit.framework/AnyFormatKit
Referenced from: /Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/IPS Reason: no suitable image found. Did find: /Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks/AnyFormatKit.framework/AnyFormatKit: required code signature missing for '/Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks/AnyFormatKit.framework/AnyFormatKit'/Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks/AnyFormatKit.framework/AnyFormatKit: required code signature missing for '/Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks/AnyFormatKit.framework/AnyFormatKit'
/Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks/AnyFormatKit.framework/AnyFormatKit: required code signature missing for '/Users/recruta/Library/Developer/CoreSimulator/Devices/1DA80144-E533-42D4-AD37-330F4DC051C0/data/Containers/Bundle/Application/E1D7058C-7D21-47F5-B513-180EC649B14D/IPS.app/Frameworks/AnyFormatKit.framework/AnyFormatKit'
I can't seem to resolve this. Any ideas what might be causing this problem?