Error message
Library 'StaticAppSec_Debug ...' not found clang: error: linker command failed with exit code 1 (use -v to see invocation)
How to fix
This error can happen when the Other Linker Flags values are wrapped with double quote (")
- The image below is an example image that can show a Library not found build error.
This error can be fixed by removing double quotes wrapping two values in Other Linker Flags.
To remove double quotes, you should separate the parameter and add in multiple rows by pressing + button.
For Release
- -lStaticAppSec
- -L$(PROJECT_DIR)/AppSealingSDK/Libraries
For Debug
- -lStaticAppSec_Debug
- -L$(PROJECT_DIR)/AppSealingSDK/Libraries
When you configure the values properly, the Other Linker Flags values should be registered without quote wrapping the whole value.