I'm trying to add a feature to my app which requires OpenMP as third party library. The first time an openMP API gets called makes the app crash.
The Xcode terminal reports this:
OMP: Error #179: Function Can't open TEMP failed: OMP: System error #1: Operation not permitted Assertion failure at kmp_runtime.cpp(6918): temp_reg_status_file_name. OMP: Error #13: Assertion failure at kmp_runtime.cpp(6918).
Console app reports this:
Sandbox: deny(1) ipc-posix-shm-write-create /__KMP_REGISTERED_LIB_31975
I cannot substitute or get rid of the OpenMP library as it is used by other third party libs needed by the feature I’m developeng.
Hope there is a workaround to the sandbox security restrictions that allows to use the lib.
Thanks, Andrea