[Build] Xcode unit tests fail with libc++abi: terminating due to uncaught exception of type onnxruntime::OnnxRuntimeException: #23259
Labels
build
build issues; typically submitted using template
platform:mobile
issues related to ONNX Runtime mobile; typically submitted using template
Describe the issue
When the unit tests are executed it fails with below exception.
libc++abi: terminating due to uncaught exception of type onnxruntime::OnnxRuntimeException: core/session/ort_env.cc:90 static void OrtEnv::Release(OrtEnv *) env_ptr == p_instance_.get() was false.
Urgency
No response
Target platform
iOS
Build script
If we simply run the code on simulator all works fine, but fails only with unit tests.
Error / output
libc++abi: terminating due to uncaught exception of type onnxruntime::OnnxRuntimeException: core/session/ort_env.cc:90 static void OrtEnv::Release(OrtEnv *) env_ptr == p_instance_.get() was false.
TestFramework
is the name of the XCFramework.Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: