Fix build script to allow ipa archives for enclosing projects.