forked from SimpleAppProjects/WidgetCenterProxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·28 lines (22 loc) · 770 Bytes
/
build.sh
File metadata and controls
executable file
·28 lines (22 loc) · 770 Bytes
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
rm -Rf XCFrameworks
cd WidgetCenterProxy
xcodebuild archive \
-scheme WidgetCenterProxy \
-archivePath ../XCFrameworks/WCP-ios.xcarchive \
-sdk iphoneos \
SKIP_INSTALL=NO
xcodebuild archive \
-scheme WidgetCenterProxy \
-archivePath ../XCFrameworks/WCP-sim.xcarchive \
-sdk iphonesimulator \
SKIP_INSTALL=NO
xcodebuild -create-xcframework \
-framework ../XCFrameworks/WCP-sim.xcarchive/Products/Library/Frameworks/WCP.framework \
-framework ../XCFrameworks/WCP-ios.xcarchive/Products/Library/Frameworks/WCP.framework \
-output ../XCFrameworks/WCP.xcframework
cd ..
sharpie bind \
-sdk iphoneos \
-output XCFrameworks/ \
-namespace WidgetCenterProxy \
-framework XCFrameworks/WCP.xcframework/ios-arm64/WCP.framework