Hello Experts,
I updated the my macOS an Xcode(11.5) to latest version.After updating 
installed TVM(0.7.dev1).
I tried to build the iOS app(13.3.1) using Xcode with latest version of TVM, 
while loading the libraries using 
`tvm::runtime::Module mod_syslib = 
tvm::runtime::Module::LoadFromFile(dev_lib.dylib)`

i'm getting below error

    ibc++abi.dylib: terminating with uncaught exception of type dmlc::Error: 
[22:21:07] 
/Users/sony/Mallappa/Trails/Sample/Sample/src/../../../../tvm/src/runtime/dso_library.cc:79:
 Check failed: lib_handle_ != nullptr: Failed to load dynamic shared library 
/private/var/containers/Bundle/Application/4DF0B14A-BA3F-499B-85F1-8985D1AA5ECC/Sample.app/dev_lib.dylib
 
dlopen(/private/var/containers/Bundle/Application/4DF0B14A-BA3F-499B-85F1-8985D1AA5ECC/Sample.app/dev_lib.dylib,
 5): no suitable image found.  Did find:
        
/private/var/containers/Bundle/Application/4DF0B14A-BA3F-499B-85F1-8985D1AA5ECC/Sample.app/dev_lib.dylib:
 code signature invalid for 
'/private/var/containers/Bundle/Application/4DF0B14A-BA3F-499B-85F1-8985D1AA5ECC/Sample.app/dev_lib.dylib'

    Stack trace:
      [bt] (0) 1   Sample                           0x00000001047c5d6c 
dmlc::LogMessageFatal::~LogMessageFatal() + 116
      [bt] (1) 2   Sample                           0x00000001047def7c 
tvm::runtime::DSOLibrary::Load(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 212
      [bt] (2) 3   Sample                           0x00000001047dece8 
std::__1::__function::__func<tvm::runtime::$_16, 
std::__1::allocator<tvm::runtime::$_16>, void (tvm::runtime::TVMArgs, 
tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs&&, 
tvm::runtime::TVMRetValue*&&) + 160
      [bt] (3) 4   Sample                           0x00000001047b2370 
tvm::runtime::Module::LoadFromFile(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> > const&) + 716
      [bt] (4) 5   Sample                           0x00000001047c4bb4 
CAK_TVM_Deploy::CAK_TVM_Deploy() + 568
      [bt] (5) 6   Sample                           0x00000001047c3494 
CAK_TVM_Deploy::getInstance() + 40
      [bt] (6) 7   Sample                           0x00000001047adfe8 main + 28
      [bt] (7) 8   libdyld.dylib                       0x00000001a2f74e18 
9D122047-19B7-36A2-A892-27401F9E0E6C + 3608
can you please help me to fix this issue.thanks in advance.





---
[Visit 
Topic](https://discuss.tvm.ai/t/tvm-src-runtime-dso-library-cc-check-failed-lib-handle-nullptr-failed-to-load-dynamic-shared-library/6897/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/c4cbe08d16a62642d93911a0ec54c07dac10b16ad494852cb935acf8a2b114cd).

Reply via email to