28e2075280
trunk/talk git-svn-id: http://webrtc.googlecode.com/svn/trunk@4318 4adac7df-926f-26a2-2b94-8c16560cd09d
31 lines
662 B
Bash
Executable File
31 lines
662 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
if [ "$(dirname $0)" != "." ]; then
|
|
echo "$(basename $0) must be run from talk/examples/ios as ./$(basename $0)"
|
|
exit 1
|
|
fi
|
|
|
|
rm -rf libs
|
|
mkdir libs
|
|
|
|
cd ../../../xcodebuild/Debug-iphoneos
|
|
for f in *.a; do
|
|
if [ -f "../Debug-iphonesimulator/$f" ]; then
|
|
echo "creating fat static library $f"
|
|
lipo -create "$f" "../Debug-iphonesimulator/$f" -output "../../talk/examples/ios/libs/$f"
|
|
else
|
|
echo ""
|
|
echo "$f was not built for the simulator."
|
|
echo ""
|
|
fi
|
|
done
|
|
|
|
cd ../Debug-iphonesimulator
|
|
for f in *.a; do
|
|
if [ ! -f "../Debug-iphoneos/$f" ]; then
|
|
echo ""
|
|
echo "$f was not built for the iPhone."
|
|
echo ""
|
|
fi
|
|
done
|