Iridium catalysed oxidation of alcohols provides the aldehydes required for in situ aza-Wittig reactions and the so-formed imines are reduced to amines under the reaction conditions.
Cami-Kobeci, G., & Williams, J. M. J. (2004). Conversion of alcohols into N-alkyl anilines via an indirect aza-Wittig reaction. Chemical Communications, (9), 1072-1073. https://doi.org/10.1039/b402020k