iphone build script
more logging more error handling