South Africa, the continent's most industrialised economy, has long been a destination for both legal and undocumented African workers. Nigeria and Ghana have issued warnings to South Africa regarding xenophobic attacks, indicating rising diplomatic tensions over the treatment of African migrants in the region.