Keep the dSYM when building XCFramework
This commit is contained in:
parent
48bb2c9604
commit
78fe2284e0
|
@ -36,6 +36,7 @@ jobs:
|
|||
- name: Create XCFramework
|
||||
run: |
|
||||
set -o pipefail
|
||||
export MACH_O_TYPE="${{ matrix.MACH_O_TYPE }}"
|
||||
./Scripts/create-xcframework.sh
|
||||
./Scripts/sign-xcframework.sh
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue