Apple already started planning the nearest future. Basing on the newest reports describing future of Apple company we can say that firm probably will stop production of two models which are currently available in shops: iPhone X and iPhone SE. We don't know anything about flagship iPhone 8 and iPhone 8 Plus but it looks that their production will be continued.

By the end of this year Apple wants to reach target of 91 million sold units of their phones. In 2019 Apple even wants to improve its statistics by selling another 92 million of their smartphones. Apple wants to realize this plan thanks to upcoming premiere of three new iPhones. Company estimates that phones will sell in the amount of 20, 60 and 45 million units respectively and during next four quarters firm wants to sell 40 million of devices every quarter.

source