Skip to content

Commit

Permalink
Keep the dSYM when building XCFramework
Browse files Browse the repository at this point in the history
  • Loading branch information
dreampiggy committed May 8, 2024
1 parent 48bb2c9 commit 095d3ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Scripts/create-xcframework.sh
Expand Up @@ -37,6 +37,9 @@ COMMAND_ARGS=""
for CURRENT_PLATFORM in "${PLATFORMS[@]}"
do
COMMAND_ARGS="${COMMAND_ARGS} -framework ${SRCROOT}/build/${CURRENT_PLATFORM}/SDWebImage.framework"
if [[ $MACH_O_TYPE != "staticlib" ]]; then
COMMAND_ARGS="${COMMAND_ARGS} -debug-symbols ${SRCROOT}/build/${CURRENT_PLATFORM}/SDWebImage.framework.dSYM"
fi
done

# Combine XCFramework
Expand Down

0 comments on commit 095d3ad

Please sign in to comment.