run the ipa hook during the build