-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathframework.sh
More file actions
26 lines (24 loc) · 752 Bytes
/
Copy pathframework.sh
File metadata and controls
26 lines (24 loc) · 752 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
# 1
xcodebuild archive \
-workspace SampleFrameWork.xcworkspace \
-scheme SampleFrameWork \
-configuration Release \
-sdk iphoneos \
-archivePath archives/ios_devices.xcarchive \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
SKIP_INSTALL=NO \
# 2
xcodebuild archive \
-workspace SampleFrameWork.xcworkspace \
-scheme SampleFrameWork \
-configuration Debug \
-sdk iphonesimulator \
-archivePath archives/ios_simulators.xcarchive \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
SKIP_INSTALL=NO \
# 3
xcodebuild \
-create-xcframework \
-framework archives/ios_devices.xcarchive/Products/Library/Frameworks/SampleFrameWork.framework \
-framework archives/ios_simulators.xcarchive/Products/Library/Frameworks/SampleFrameWork.framework \
-output SampleFrameWork.xcframework