Johannesburg - South Africa and Nigeria signed 30 trade and cooperation agreements on Thursday, weeks after a wave of violence against Nigerian nationals in Johannesburg and Pretoria had strained relations between Africa's top two economies.
In September, mobs armed with makeshift weapons attacked businesses and homes owned by foreigners, leading to at least 10 deaths, dozens of injuries and up to 400 arrests.
In response Nigeria repatriated around 600 of its citizens living in South Africa.
Presidents Cyril Ramaphosa and Muhammadu Buhari, at the conclusion of a two-day visit by the Nigerian leader, said they regretted the violence and subsequent retaliation in Nigeria against South African businesses, pledging instead to deepen trade ties.
The local units of South African telecoms company MTN and supermarket chain Shoprite closed all stores and service centres in Nigeria after their premises were attacked by Nigerians protesting against attacks on their compatriots in South Africa.