Move copying build artifacts to www into its own func and run before cordova ipa
If Xcode build fails, wouldn't have seen the correct error messages