I have facing the problem in my ios project. symbols not found for architecture x86_64 in xcode clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thanks in advance!!
I had the exact same problem when running the unit tests for an application that had a custom framework as a dependency. The application was running fine but not its unit tests (I was getting the exact error shown above). I resolved it as follows: - Select the unit test target for the application (e.g. Tests) - Under "Testing" section enable "Allow testing Host Application APIs"
In most cases this points to one or more missing references to frameworks in the section Linked Frameworks And Libraries in the Targets settings of the app in Xcode.
To find out which framework reference should be added:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With