President Cyril Rampahosa condemned the incidents, saying it was "totally unacceptable".
Clashes between locals and foreigners have been ongoing, and shops have been looted, businesses burnt and people attacked.
On social media, many have called for calm, pleading for peace between all Africans.