add script to build iphone app.