The outer automorphism group of a group $G$ is constructed by the short exact sequence $$ 1\longrightarrow \mathrm{Inn}(G) \longrightarrow \mathrm{Aut}(G) \longrightarrow \mathrm{Out}(G) \longrightarrow 1 $$ This sequence does not always split, see Non-split Aut(G) $\to$ Out(G)?, for example for the finite group $G = A_6$.
I am interested in the case where $G$ is a compact, connected Lie group. Does the sequence always split in this case? (If $G$ has a simple Lie algebra $\mathfrak{g}$ then I believe the answer is yes.)