darkThanBlack / PyTorch-HelloWorld

A copy demo, in order to show how to solve the arm64 problem
0 stars 1 forks source link

can't run your code on iOS simulator in XCode #1

Open yasharhezaveh opened 1 year ago

yasharhezaveh commented 1 year ago

Hi, The code doesn't compile and gives a lot of errors like "Undefined symbol: at::TensorMaker::make_tensor()"

It looks like there's a problem linking with the library. I appreciate your help. Thank you

XCode: Version 14.2 (14C18) macOS: Monterey 12.5 M1 chip Simulator: iPhone 14

darkThanBlack commented 1 year ago

My current working environment is Xcode 13.3. I tried it and found that it works well, so I need to switch to another machine to download the latest Xcode and check it later.