ios-demo-app
ios-demo-app copied to clipboard
library not found for -lPods-PyTorchDemo
Got the following error trying to run the code:
Showing Recent Messages
Build target PyTorchDemo of project PyTorchDemo with configuration Debug
Ld /Users/gvs/Library/Developer/Xcode/DerivedData/PyTorchDemo-brnftyiccqnynwcjudbbqwtswfct/Build/Products/Debug-iphoneos/PyTorchDemo.app/PyTorchDemo normal arm64 (in target 'PyTorchDemo' from project 'PyTorchDemo') cd /Users/gvs/dev/ios/ios-demo-app/PyTorchDemo /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios12.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -L/Users/gvs/Library/Developer/Xcode/DerivedData/PyTorchDemo-brnftyiccqnynwcjudbbqwtswfct/Build/Products/Debug-iphoneos -L/Users/gvs/dev/ios/ios-demo-app/PyTorchDemo/Pods/LibTorch/install/lib -F/Users/gvs/Library/Developer/Xcode/DerivedData/PyTorchDemo-brnftyiccqnynwcjudbbqwtswfct/Build/Products/Debug-iphoneos -filelist /Users/gvs/Library/Developer/Xcode/DerivedData/PyTorchDemo-brnftyiccqnynwcjudbbqwtswfct/Build/Intermediates.noindex/PyTorchDemo.build/Debug-iphoneos/PyTorchDemo.build/Objects-normal/arm64/PyTorchDemo.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/gvs/Library/Developer/Xcode/DerivedData/PyTorchDemo-brnftyiccqnynwcjudbbqwtswfct/Build/Intermediates.noindex/PyTorchDemo.build/Debug-iphoneos/PyTorchDemo.build/Objects-normal/arm64/PyTorchDemo_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/gvs/Library/Developer/Xcode/DerivedData/PyTorchDemo-brnftyiccqnynwcjudbbqwtswfct/Build/Intermediates.noindex/PyTorchDemo.build/Debug-iphoneos/PyTorchDemo.build/Objects-normal/arm64/PyTorchDemo.swiftmodule -ObjC -lc++ -lc10 -lclog -lcpuinfo -leigen_blas -lnnpack -lpytorch_qnnpack -lstdc++ -ltorch -force_load /Users/gvs/dev/ios/ios-demo-app/PyTorchDemo/Pods/LibTorch/install/lib/libtorch.a -lPods-PyTorchDemo -Xlinker -dependency_info -Xlinker /Users/gvs/Library/Developer/Xcode/DerivedData/PyTorchDemo-brnftyiccqnynwcjudbbqwtswfct/Build/Intermediates.noindex/PyTorchDemo.build/Debug-iphoneos/PyTorchDemo.build/Objects-normal/arm64/PyTorchDemo_dependency_info.dat -o /Users/gvs/Library/Developer/Xcode/DerivedData/PyTorchDemo-brnftyiccqnynwcjudbbqwtswfct/Build/Products/Debug-iphoneos/PyTorchDemo.app/PyTorchDemo
ld: library not found for -lPods-PyTorchDemo clang: error: linker command failed with exit code 1 (use -v to see invocation)
+1 here
@xta0 can you take a look, please?
@Daniel-Kelvich @gmendozah Firstly, you should run "pod install" then the you should open .xcworkspace file instead if .xcodeproj