Apple is hoping to expand the iPhone’s appeal by luring software developers to create programs for it.