-
Notifications
You must be signed in to change notification settings - Fork 23
/
build.sh
executable file
·46 lines (42 loc) · 1.56 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
xcodebuild archive \
-scheme ETTrace \
-archivePath ./ETTrace-iphonesimulator.xcarchive \
-sdk iphonesimulator \
-destination 'generic/platform=iOS Simulator' \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
INSTALL_PATH='Library/Frameworks' \
SKIP_INSTALL=NO \
CLANG_CXX_LANGUAGE_STANDARD=c++17
xcodebuild archive \
-scheme ETTrace \
-archivePath ./ETTrace-iphoneos.xcarchive \
-sdk iphoneos \
-destination 'generic/platform=iOS' \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
INSTALL_PATH='Library/Frameworks' \
SKIP_INSTALL=NO \
CLANG_CXX_LANGUAGE_STANDARD=c++17
xcodebuild archive \
-scheme ETTrace \
-archivePath ./ETTrace-tvOSSimulator.xcarchive \
-sdk appletvsimulator \
-destination 'generic/platform=tvOS Simulator' \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
INSTALL_PATH='Library/Frameworks' \
SKIP_INSTALL=NO \
CLANG_CXX_LANGUAGE_STANDARD=c++17
xcodebuild archive \
-scheme ETTrace \
-archivePath ./ETTrace-visionOSSimulator.xcarchive \
-sdk xrsimulator \
-destination 'generic/platform=visionOS Simulator' \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
INSTALL_PATH='Library/Frameworks' \
SKIP_INSTALL=NO \
CLANG_CXX_LANGUAGE_STANDARD=c++17
xcodebuild -create-xcframework \
-framework ./ETTrace-iphonesimulator.xcarchive/Products/Library/Frameworks/ETTrace.framework \
-framework ./ETTrace-iphoneos.xcarchive/Products/Library/Frameworks/ETTrace.framework \
-framework ./ETTrace-visionOSSimulator.xcarchive/Products/Library/Frameworks/ETTrace.framework \
-framework ./ETTrace-tvOSSimulator.xcarchive/Products/Library/Frameworks/ETTrace.framework \
-output ./ETTrace.xcframework