updated ios build script to separate architectures