just like the title
how to become a apple developer
Learn to program in Objective-C and/or Swift. Become proficient and apply for a job at Apple.
If you mean how to become an individual developer who creates apps for iOS and/or Mac OS,
the answer is essentially the same, minus the applying to Apple for a job part.