When I am executing this command → BUILD_PYTORCH_MOBILE=1 IOS_ARCH=arm64 ./scripts/build_ios.sh
I am getting this error
File “/Users/apple/Documents/GitHub/pytorch/tools/codegen/gen.py”, line 81
def parse_native_yaml(path: str) → ParsedYaml:
^
SyntaxError: invalid syntax
CMake Error at cmake/Codegen.cmake:232 (message):
Failed to get generated_cpp list
Call Stack (most recent call first):
caffe2/CMakeLists.txt:2 (include)
– Configuring incomplete, errors occurred!