#!/bin/sh

LIB_NAME=libVNMediaClient.a
mkdir -p ../../lib/darwin-iphone
xcrun -sdk iphoneos lipo -output ../../lib/darwin-iphone/$LIB_NAME  -create -arch armv7 ../../lib/armv7-darwin-iphoneos/$LIB_NAME -arch armv7s ../../lib/armv7s-darwin-iphoneos/$LIB_NAME -arch arm64 ../../lib/arm64-darwin-iphoneos/$LIB_NAME -arch i386 ../../lib/i386-darwin-iphonesimulator/$LIB_NAME -arch x86_64 ../../lib/x86_64-darwin-iphonesimulator/$LIB_NAME
