As you have said, the unit-step $u[n]$ is neither absolutely, nor square summable, and thus, it does not have a convergent Fourier transform which can be obtained by evaluating its $z$-Transform $$U(z) = \frac{1}{1- z^{-1}} = \frac{z}{z- 1}$$ on the unit circle.
However, we also know that the Fourier transform of the unit-step is:
$$ U(\omega) = \frac{1}{1- e^{-j\omega}} + \pi \delta(\omega). \tag{1}$$
You can check the same book for its derivation.
I don't know what the author really wanted to show, but if you want to skip the impulse at the origin, and evaluate $U(z)$ on the unit circle except at $\omega = 0$ (which corresponds to $z=1$ on the z-plane) then you will get
$$U_0(\omega) = \frac{1}{1- e^{-j\omega}} \tag{2}$$
which is identical to $U(\omega)$, ignoring the impulse at $\omega = 0$.
It's quite easy to show that $U_0(\omega)$ is what you have posted as $F(\omega)$:
$$
\begin{align}
U_0(\omega) &= \frac{1}{1- e^{-j\omega}} \\ \\
&= \frac{1}{ e^{-j \frac{\omega}{2}} (e^{j \frac{\omega}{2}}- e^{-j \frac{\omega}{2}})} \\\\
&= \frac{e^{j \frac{\omega}{2}}}{ (e^{j \frac{\omega}{2}}- e^{-j \frac{\omega}{2}})} \\\\
&= \frac{e^{j \frac{\omega}{2}}}{ 2 j \sin( \frac{\omega}{2}) } \tag{3}\\
\end{align}
$$
Hope that the complex algebra is clear.
NOTE: This Fourier transform $U_0(\omega)$ can be considered as the effective frequency response of an accumulator (unstable with an impulse response $u[n]$) on an input signal $x[n]$ which does not have a DC component; i.e., $X(0)=0$, so that the impulse at $\omega=0$ of $U(\omega)$ is ineffective at the output, as shown:
$$
\begin{align}
Y(\omega) &= X(\omega) U(\omega) \\\\
&= X(\omega) ( U_0(\omega) + \pi \delta(\omega) ) \\\\
&= X(\omega)U_0(\omega) + X(\omega) \pi \delta(\omega) \\\\
&= X(\omega)U_0(\omega) + \pi X(0) \delta(\omega) \\\\
&= X(\omega)U_0(\omega) + \pi 0 \delta(\omega) \\\\
&= X(\omega)U_0(\omega) \tag{4} \\\\
\end{align}
$$