added xcrun/lipo freeze loop