Assume that the heuristic statement "$A+iB=i^{i\,\cdots \text{infinity times}}$" as written in the OP is rigorously described by the limit, if it exists, of the equation
$$\begin{align}
z_{n+1}&=i^{z_n}\\\\
&=e^{z_n\log(i)}\\\\
&=e^{i\pi z_n/2}\\\\
\end{align}$$
subject to the initial condition $z_0=i$.
If $\lim_{n\to \infty}z_n=A+iB$ exists, then
$$\begin{align}
A+iB&=e^{i\pi (A+iB)/2}\\\\
&=e^{-\pi B/2}\cos(\pi A/2)+ie^{-\pi B/2}\sin(\pi A/2)\tag1
\end{align}$$
Taking the modulus on both sides of $(1)$, we obtain
$$A^2+B^2=e^{-\pi B}$$
Taking the ratio of the imaginary and real parts of both sides of $(1)$, we obtain
$$\frac{B}{A}=\tan(\pi A/2)$$