I've looked over possible methods but the problem is still unsolved. I followed the instruction that overleaf provides (but using VS code), I think key commands are all added:
% !TEX program = xelatex
% !TeX TXS-program:bibliography = txs:///biber
\documentclass{article}
\usepackage[backend=biber,style=ieee,sorting=none]{biblatex}
\addbibresource{cite.bib}
Note that the second line is suggested adding. [see 1]
I can \cite the paper stored in the "cite.bib" file,
but the warning keeps showing:
Please (re)run Biber on the file:
(biblatex) my paper
(biblatex) and rerun LaTeX afterwards.
Citation 'casetta2013generalized' on page 1 undefined.
well, it surely can read the .bib since VS code shows a little window of reference info when cursor moves to the \cite{} command line.
I can't figure out what's wrong, so hope someone can help me out, thanks a lot!
[1] https://www.reddit.com/r/LaTeX/comments/pvscws/biblatex_error_in_vs_code/
.blgfile, this usually means that Biber wasn't run. (Or you're using some feature of your editor that cleans temporary files, which is usually a bad idea.) If Biber was run correctly, there will be a.blgfile. If you configured your editor as in the link I gave and asked your editor to run Biber, you should get a.blgfile. Try running LaTeX and Biber from the command line to see if that works. – moewe Aug 01 '23 at 18:26biber my paper.texin VS code's terminal, then it said: `xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrunbiber: extracting arm64 binary with lipo failed (wstatus=256)`
– 106207436 Aug 02 '23 at 13:50bibtex my paper.tex, it said:`This is BibTeX, Version 0.99d (TeX Live 2023)
The top-level auxiliary file: VS/FSI/Hamilton2023.aux
I found no \citation commands---while reading file VS/FSI/Hamilton2023.aux I found no \bibdata command---while reading file VS/FSI/Hamilton2023.aux I found no \bibstyle command---while reading file VS/FSI/Hamilton2023.aux`
– 106207436 Aug 02 '23 at 13:55xcode-select --installin a terminal. Running BibTeX instead of Biber will not do any good to your document since it requires Biber. – moewe Aug 02 '23 at 19:54