-
Notifications
You must be signed in to change notification settings - Fork 0
/
compile-ios.sh
executable file
·23 lines (19 loc) · 1.02 KB
/
compile-ios.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cd prebuilt
xcodebuild build -scheme Attributes -configuration Release -arch arm64 -sdk 'iphoneos' \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
-derivedDataPath './Attributes/build/' \
-project Attributes/Attributes.xcodeproj
cp Attributes/build/Build/Products/Release-iphoneos/libAttributes.a Attributes/binaries/arm64
rm -rf Attributes/build
xcodebuild build -scheme Attributes -configuration Release -arch arm64 -sdk 'iphonesimulator' \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
-derivedDataPath './Attributes/build/' \
-project Attributes/Attributes.xcodeproj
cp Attributes/build/Build/Products/Release-iphonesimulator/libAttributes.a Attributes/binaries/arm64-simulator
rm -rf Attributes/build
xcodebuild build -scheme Attributes -configuration Release -arch x86_64 -sdk 'iphonesimulator' \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
-derivedDataPath './Attributes/build/' \
-project Attributes/Attributes.xcodeproj
cp Attributes/build/Build/Products/Release-iphonesimulator/libAttributes.a Attributes/binaries/x64
rm -rf Attributes/build