代码拉取完成,页面将自动刷新
#!/bin/sh
# Type './build.sh' to make iOS libraries.
# Type './build.sh -arch arm64' to make iOS libraries for iOS 64-bit.
# Type './build.sh clean' to remove object files.
if [ ! -f ../vgcore/ios/build.sh ] ; then
git clone http://git.oschina.net/vg/vgcore ../vgcore
fi
if [ ! -f ../SVGKit/SVGKit.podspec ] ; then
git clone https://github.com/SVGKit/SVGKit ../SVGKit
fi
iphoneos15=`xcodebuild -showsdks | grep -i iphoneos15`
iphoneos12=`xcodebuild -showsdks | grep -i iphoneos12`
if [ -n "$iphoneos15" ]; then
xcodebuild -project TouchVG.xcodeproj $1 $2 -sdk iphoneos15.0 -configuration Release -alltargets
else
if [ -n "$iphoneos12" ]; then
xcodebuild -project TouchVG.xcodeproj $1 $2 -sdk iphoneos12.0 -configuration Release -alltargets
fi
fi
mkdir -p output/TouchVG
cp -R build/Release-iphoneos/*.a output
cp -R build/Release-iphoneos/include/TouchVG/*.h output/TouchVG
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。