سلام
باتغییر در کدهای شما به صورت زیر مشکل حل شد:
\documentclass{article}
\usepackage{longtable}
\makeatletter
\def\LT@output{
\LT@bchunk
\hline A & page \thepage \\ \hline
\LT@echunk
\setbox\LT@head\box\z@
\setbox\@cclv\vbox{\copy\LT@head\unvbox\@cclv}%
\ifnum\outputpenalty >-\@Mi\vspace*{-.35cm}\fi\@makecol%
\@outputpage \global\vsize\@colroom
\nobreak
}
\makeatother
\begin{document}
\begin{longtable}{| c | c |}
& xxxxxx \\ \hline \endfoot
\rule{0.7\textwidth}{0.7\textheight}&\\\hline
\rule{0.7\textwidth}{0.7\textheight}&\\\hline
\rule{0.7\textwidth}{0.7\textheight}& \\\hline
\rule{0.7\textwidth}{0.7\textheight}& \\\hline
\end{longtable}
\end{document}
خروجیهای شما با نسخههای اولیهی تکلایو 2018 به صورت زیر است:
![enter image description here][1]
![enter image description here][2]
![enter image description here][3]

موفق باشید.