Hey there,
The CMakeLists.txt changes I made were to turn off QNNPACK which was causing issues for me when I loaded the model in my XCode project.
I’m not sure what your issue is, but if you read through the thread I had to go through several iterations (and issues) to arrive at a LibTorch build that allowed me to get my trained model running in a WatchOS project.
What is the process you are going through that is getting you to this error?
(I’m no expert in this, but @xta0 's comments really helped )