ios-demo-app icon indicating copy to clipboard operation
ios-demo-app copied to clipboard

Library Not Found for -lPods-HelloWorld

Open AAAblaze opened this issue 4 years ago • 5 comments

SDK simulator: IOS 13.0, iPhone 8 Pytorch Version: 1.5.0 Follow the tutorial in github but got error when I compile the demo.


ld: library not found for -lPods-HelloWorld clang: error: linker command failed with exit code 1 (use -v to see invocation)

AAAblaze avatar Jul 25 '20 07:07 AAAblaze

Same, but I have: Library not found for -lPods-PyTorchDemo

@AAAblaze have you found a solution yet?

Daniel-Kelvich avatar Aug 06 '20 14:08 Daniel-Kelvich

Same, but I have: Library not found for -lPods-PyTorchDemo

@AAAblaze have you found a solution yet?

Not yet, I searched the google for days but can't fix this bug. Turn to TFLite now. I don't expect there would be some persons from PyTorch to view this issue.

AAAblaze avatar Aug 09 '20 16:08 AAAblaze

@AAAblaze @Daniel-Kelvich Firstly, you should run "pod install" then the you should open .xcworkspace file instead if .xcodeproj

andredsnogueira avatar Aug 19 '20 18:08 andredsnogueira

@AAAblaze @Daniel-Kelvich Firstly, you should run "pod install" then the you should open .xcworkspace file instead if .xcodeproj

That's what I did before and it has no help.

AAAblaze avatar Aug 19 '20 18:08 AAAblaze

@AAAblaze @Daniel-Kelvich Firstly, you should run "pod install" then the you should open .xcworkspace file instead if .xcodeproj

That's what I did before and it has no help.

I just had the same exact error and that did the trick. Btw I'm using Pytorch 1.6.

andredsnogueira avatar Aug 19 '20 19:08 andredsnogueira