Solved by xta0 in post #3 
              
              
                @mark_jimenez if you want to wrap pytorch into your custom podspec, you need to specify the header search path manually. see here for example - https://github.com/xta0/PytorchExpObjC/blob/master/PytorchExpObjc.podspec