When using the framework static library made by myself, which contains class files, when importing, it reports an error saying that the method declaration cannot be found.
solution:
Add target --> Build setttings --> linking --> Other linker flags in the Framework file and add -Objc
In the introduction of the Framework project, target --> Build setttings --> linking --> Other linker flags add -all_load or -force_load
Merge real machine and emulator Framework
lipo -create /Users/.../iPhone/ECSecurity.framework/ECSecurity /Users/.../Simulator/ECSecurity.framework/ECSecurity -output /Users/.../Common/ECSecurity
Just replace the ECSecurity file.