Include dSYMs in xcframework build by Cyberbeni · Pull Request #2284 · airbnb/lottie-ios

@Cyberbeni

@Cyberbeni

calda

xcodebuild('archive -workspace Lottie.xcworkspace -scheme "Lottie (macOS)" -destination generic/platform=macOS -archivePath ".build/archives/Lottie_macOS" SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES ENABLE_BITCODE=NO')
xcodebuild('archive -workspace Lottie.xcworkspace -scheme "Lottie (tvOS)" -destination generic/platform=tvOS -archivePath ".build/archives/Lottie_tvOS" SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES ENABLE_BITCODE=NO')
xcodebuild('archive -workspace Lottie.xcworkspace -scheme "Lottie (tvOS)" -destination "generic/platform=tvOS Simulator" -archivePath ".build/archives/Lottie_tvOS_Simulator" SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES ENABLE_BITCODE=NO')
xcodebuild('archive -workspace Lottie.xcworkspace -scheme "Lottie (iOS)" -destination generic/platform=iOS -archivePath ".build/archives/Lottie_iOS" SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES ENABLE_BITCODE=NO SWIFT_SERIALIZE_DEBUGGING_OPTIONS=NO')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does SWIFT_SERIALIZE_DEBUGGING_OPTIONS=NO do exactly?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

calda

'-framework .build/archives/Lottie_tvOS.xcarchive/Products/Library/Frameworks/Lottie.framework',
'-framework .build/archives/Lottie_tvOS_Simulator.xcarchive/Products/Library/Frameworks/Lottie.framework',
'-framework .build/archives/Lottie_macOS.xcarchive/Products/Library/Frameworks/Lottie.framework',
'-archive .build/archives/Lottie_iOS.xcarchive -framework Lottie.framework',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on your comment here, using -archive and -framework separately makes it so the dSYMs from the archive are included?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this will include anything that belongs to the specific framework inside the archive.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

calda

@calda

iago849 pushed a commit to atteamapps/lottie-ios that referenced this pull request

Feb 8, 2024

MoroziOS pushed a commit to MoroziOS/tmg-lottie-ios that referenced this pull request

May 22, 2024