Robbie Deans and Bernard Laporte will coach the World XV against the Springboks at Newlands on 11 July.
Deans, who coached the Wallabies from 2008 to 2013, was in charge of the Barbarians team that beat Ireland 22-21 in Limerick on Thursday night and is also involved with the Panasonic Wild Knights in Japan.
Laporte, a former France coach, is currently the head coach of European and French champions Toulon.
The names of players selected for the World XV will be released in due course.
Photo: Cameron Spencer/Getty Images