Skip to content

Commit bfac342

Browse files
committed
Add debug symbols to xcframework
1 parent 4f85bb5 commit bfac342

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/scripts/generate_xcframework.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ def run(config: ScriptConfig):
6060
# XCFRAMEWORK_INPUT_FLAGS="${XCFRAMEWORK_INPUT_FLAGS}-framework ${CURRENT_ARCHIVE_PATH}.xcarchive/Products/Library/Frameworks/LDKFramework.framework "
6161
framework_input_flags += [
6262
'-framework',
63-
f'{xcarchive_output_path}.xcarchive/Products/Library/Frameworks/LightningDevKit.framework'
63+
f'{xcarchive_output_path}.xcarchive/Products/Library/Frameworks/LightningDevKit.framework',
64+
'-debug-symbols',
65+
f'{xcarchive_output_path}.xcarchive/dSYMs/LightningDevKit.framework.dSYM'
6466
]
6567

6668
if config.PRESERVE_XCARCHIVES:

0 commit comments

Comments
 (0)