Skip to content

Commit a220a5c

Browse files
dskuzadskuza
andcommitted
build(ios): updates build_framework script to include dsyms in final output
Updates `build_framework.sh` to use the `-archive` flag to include `dSYMs` to the final `.xcframework` output. This should make it easier for developers to symbolicate crash reports and give us more insight into Rive-related crashes. This does _not_ affect device support, and does _not_ affect install size; it only affects download size. Diffs= 2e45b9682d build(ios): updates build_framework script to include dsyms in final output (#8941) Co-authored-by: David Skuza <david@rive.app>
1 parent 0090114 commit a220a5c

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

scripts/build_framework.sh

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,18 @@ xcodebuild archive \
9595

9696
xcodebuild \
9797
-create-xcframework \
98-
-framework .build/archives/RiveRuntime_iOS.xcarchive/Products/Library/Frameworks/RiveRuntime.framework \
99-
-framework .build/archives/RiveRuntime_iOS_Simulator.xcarchive/Products/Library/Frameworks/RiveRuntime.framework \
100-
-framework .build/archives/RiveRuntime_macOS.xcarchive/Products/Library/Frameworks/RiveRuntime.framework \
101-
-framework .build/archives/RiveRuntime_visionOS.xcarchive/Products/Library/Frameworks/RiveRuntime.framework \
102-
-framework .build/archives/RiveRuntime_visionOS_Simulator.xcarchive/Products/Library/Frameworks/RiveRuntime.framework \
103-
-framework .build/archives/RiveRuntime_tvOS.xcarchive/Products/Library/Frameworks/RiveRuntime.framework \
104-
-framework .build/archives/RiveRuntime_tvOS_Simulator.xcarchive/Products/Library/Frameworks/RiveRuntime.framework \
98+
-archive .build/archives/RiveRuntime_iOS.xcarchive \
99+
-framework RiveRuntime.framework \
100+
-archive .build/archives/RiveRuntime_iOS_Simulator.xcarchive \
101+
-framework RiveRuntime.framework \
102+
-archive .build/archives/RiveRuntime_macOS.xcarchive \
103+
-framework RiveRuntime.framework \
104+
-archive .build/archives/RiveRuntime_visionOS.xcarchive \
105+
-framework RiveRuntime.framework \
106+
-archive .build/archives/RiveRuntime_visionOS_Simulator.xcarchive \
107+
-framework RiveRuntime.framework \
108+
-archive .build/archives/RiveRuntime_tvOS.xcarchive \
109+
-framework RiveRuntime.framework \
110+
-archive .build/archives/RiveRuntime_tvOS_Simulator.xcarchive \
111+
-framework RiveRuntime.framework \
105112
-output archive/RiveRuntime.xcframework

0 commit comments

Comments
 (0)