I created a framework using CMake and added it to the test project. Then import the header file and everything works fine. I got this error when I call the method. I don't know why this error occurs. I tried almost all possible ways, but it didn't work. Any suggestions will be grateful.
Issue
Undefined symbols for architecture armv7:
"XmlInterface::XmlInterface()", referenced from:
-[ViewController viewDidLoad] in ViewController.o
"XmlInterface::~XmlInterface()", referenced from:
-[ViewController viewDidLoad] in ViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried these methods
Other Linker Flags
add$(inherited)
delete
DerivedData
set
NO
toActive Architecture Only
lipo -info
Architectures in the fat file: xml are: x86_64 armv7 armv7s arm64
Attached screenshot