@xta0 I just tried to compile the libtorch.a using the branch v1.4.0 with the following command:
SELECTED_OP_LIST=predictor.yaml BUILD_PYTORCH_MOBILE=1 IOS_ARCH=arm64 ./scripts/build_ios.sh

It compiles correctly, but I got some additional error when I try to link the libtorch.a on Xcode.
Undefined symbol: c10::NonVariableTypeMode::is_enabled()
Undefined symbol: torch::jit::script::Module::module_object() const
Undefined symbol: c10::NonVariableTypeMode::set_enabled(bool)
Undefined symbol: caffe2::detail::_typeMetaDataInstance_preallocated_6
Undefined symbol: at::TypeDefault::to(at::Tensor const&, c10::TensorOptions const&, bool, bool)