You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
When building an iOS app using LibTorch-Lite installed via cocoapods on M1, it will fail to build for Simulator with the error: Building for iOS Simulator, but linking in object file built for iOS
The text was updated successfully, but these errors were encountered:
ld: in /Users/steve.ham/Downloads/ios-demo-app-master/HelloWorld/HelloWorld/Pods/LibTorch-Lite/install/lib/libtorch.a(empty.cpp.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/steve.ham/Downloads/ios-demo-app-master/HelloWorld/HelloWorld/Pods/LibTorch-Lite/install/lib/libtorch.a' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Chip: Apple M1 Pro
Pod: 'LibTorch-Lite', '~> 1.10.0'
Device:
When building an iOS app using LibTorch-Lite installed via cocoapods on M1, it will fail to build for Simulator with the error:
Building for iOS Simulator, but linking in object file built for iOS
The text was updated successfully, but these errors were encountered: