Forget developing countries, iPhone is a luxury even in some European countries, when rent is 500+ Euros and your take home pay is ~1000. After all the other bills you're not left with iPhone money, which is why 100-200 Euro models of Chinese brands are doing so well.
It's easier to name the countries where iPhone ISN'T a luxury, as you can count them on very few hands.
Many countries would develop much faster if there weren't bombed nor maintain by puppet dictactors from (economically) developped nations (USA and france keep doing this intensively, while countries like Germany dont mind supporting fascist states). (PS: I'm not woke, not even Marxist).