Error Case 1 : ld: library not found for -lStaticAppSec_Debug
- This error occurs when libStaticAppSec_Debug.a file is not exist. libStaticAppSec_Debug.a file should be located in following path.
- $(YOUR_XCode_PROJECT_ROOT)/Libraries/AppSealingSDK/Libraries/libStaticAppSec_Debug.a
- $(YOUR_XCode_PROJECT_ROOT)/Libraries/AppSealingSDK/Libraries/libStaticAppSec_Debug.a
- If you cannot find this file, you can copy it from following path.
- $(YOUR_Unity_PROJECT_ROOT)/Assets/AppSealingSDK/Libraries/libStaticAppSec_Debug.lib
- You have to change the file extension as a from lib.
- Also, when same error occurs with lStaticAppSec file, you can solve problem in same way.
Error Case 2 : Undefined symbols for architecture arm64: "_Unity_IsAbnormalEnvironmentDetected"
- This error occurs when [XCode Build Target/Build Settings/Other Linker Flags] option is not proper.
- Go to Other Linker Flags setting page as below
- Update values
- Delete existing old values
- Debug : -lStaticAppSec_Debug -L$(PROJECT_DIR)/Libraries/AppSealingSDK/Libraries
- Release : -lStaticAppSec -L$(PROJECT_DIR)/Libraries/AppSealingSDK/Libraries
- Release ForProfiling : -lStaticAppSec_Debug -L$(PROJECT_DIR)/Libraries/AppSealingSDK/Libraries
- ReleaseForRunning : -lStaticAppSec_Debug -L$(PROJECT_DIR)/Libraries/AppSealingSDK/Libraries
- Delete existing old values