Bafana Bafana coach Stuart Baxter confirmed at a press conference that his side will face the Black Stars ahead the continental showpiece, which runs between June 21 and July 19 in Egypt.
No more details were given about the friendly aside from the fact that it will be played in Dubai.
Editors' Picks
In search of their second title, 1996 champions South Africa have been drawn in what has been tagged as 'Group of Death' which also includes African giants Cote d'Ivoire and Morocco as well as Namibia.
"Yes we will try and play a game in Dubai," Baxter confirmed.