Fixing dropped return code

The return code from these commands wasn't failing the build overall.

When we cannot create the IPA, it seems like we ought to fail.  Future build steps may depend on the existence of the .ipa, and it seems best to fail early in a build to ease troubleshooting.