ld: library not found for -lVasern
kailashvele opened this issue · comments
ld: library not found for -lVasern
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Getting this error on Archiving project in XCode.
Since I am using cocoapods for Firebase I have to open .xcworkspace file in XCode.
However, I have linked the library in the Projects by both the Auto and Manual methods and followed the standard process of adding libVasern.a in linkers.
The library seems to be linked since running application on an emulator doesn't throw the error while Archiving it does.
Any suggestions?
Hi Kai, seem like the library isn't linked for production build. Similar to this issue #27 (comment)
Let me know if the issue still persist
So it turns out, changing the build target from 9 or below to 11 doesn't give this error.
Following steps I followed after connecting with @hieunc229 on Twitter:
Also, note if you have the correct path in header search path ie. $(SRCROOT)/../node_modules/vasern/ios
Thank you for the update!