Keep the dSYM when building XCFramework
This commit is contained in:
parent
48bb2c9604
commit
78fe2284e0
|
@ -36,6 +36,7 @@ jobs:
|
||||||
- name: Create XCFramework
|
- name: Create XCFramework
|
||||||
run: |
|
run: |
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
export MACH_O_TYPE="${{ matrix.MACH_O_TYPE }}"
|
||||||
./Scripts/create-xcframework.sh
|
./Scripts/create-xcframework.sh
|
||||||
./Scripts/sign-xcframework.sh
|
./Scripts/sign-xcframework.sh
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,9 @@ COMMAND_ARGS=""
|
||||||
for CURRENT_PLATFORM in "${PLATFORMS[@]}"
|
for CURRENT_PLATFORM in "${PLATFORMS[@]}"
|
||||||
do
|
do
|
||||||
COMMAND_ARGS="${COMMAND_ARGS} -framework ${SRCROOT}/build/${CURRENT_PLATFORM}/SDWebImage.framework"
|
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
|
done
|
||||||
|
|
||||||
# Combine XCFramework
|
# Combine XCFramework
|
||||||
|
|
Loading…
Reference in New Issue