Post

Replies

Boosts

Views

Activity

Reply to Xcode 16 warning about missing symbols of static framework
The only way out of it was to create a build post-action script to generate the missing dsym file. Here is the gist of the script: set -euo pipefail if [ -z "${ARCHIVE_PATH:-}" ]; then exit 0 fi APP_PATH="$ARCHIVE_PATH/Products/Applications/App_Product_Name.app" if [ ! -d "$APP_PATH/Contents" ]; then exit 0 fi BIN="$APP_PATH/Contents/Frameworks/Framework_Name.framework/Framework_Name" OUT="$ARCHIVE_PATH/dSYMs/Framework_Name.framework.dSYM" OUT_DWARF="$OUT/Contents/Resources/DWARF/Framework_Name" if [ ! -f "$BIN" ]; then exit 0 fi if [ ! -f "$OUT_DWARF" ]; then mkdir -p "$ARCHIVE_PATH/dSYMs" rm -rf "$OUT" xcrun dsymutil "$BIN" -o "$OUT" fi if [ ! -f "$OUT_DWARF" ]; then exit 1 fi BIN_UUIDS="$(xcrun dwarfdump --uuid "$BIN" | awk '{print $2}' | sort)" DSYM_UUIDS="$(xcrun dwarfdump --uuid "$OUT_DWARF" | awk '{print $2}' | sort)" if [ "$BIN_UUIDS" != "$DSYM_UUIDS" ]; then exit 1 fi
Mar ’26
Reply to Xcode 16 warning about missing symbols of static framework
I am seeing a similar issue, but only for my Mac Catalyst archive on XCode 26. My app is a SwiftUI application that embeds an Objective-C framework built from a separate Xcode project. The framework binary itself does have UUIDs, but when I inspect the .xcarchive, the corresponding framework dSYM is missing from the archive’s dSYMs folder. What is confusing is that this does not happen for the iOS build. I use the same framework target, and when I archive the iOS app and upload to TestFlight, I do not get the warning. The problem only appears when I archive the Mac Catalyst version. So in summary: • The embedded framework binary is present in the archive • The framework executable has valid UUIDs • The app archive’s dSYMs folder does not contain the matching dSYM for that embedded framework • This only happens for Mac Catalyst • The same setup works correctly for iOS Has anyone seen Catalyst archives skip generating or packaging dSYMs for embedded frameworks, even though the binary itself contains debug information?
Mar ’26
Reply to Xcode 16 warning about missing symbols of static framework
The only way out of it was to create a build post-action script to generate the missing dsym file. Here is the gist of the script: set -euo pipefail if [ -z "${ARCHIVE_PATH:-}" ]; then exit 0 fi APP_PATH="$ARCHIVE_PATH/Products/Applications/App_Product_Name.app" if [ ! -d "$APP_PATH/Contents" ]; then exit 0 fi BIN="$APP_PATH/Contents/Frameworks/Framework_Name.framework/Framework_Name" OUT="$ARCHIVE_PATH/dSYMs/Framework_Name.framework.dSYM" OUT_DWARF="$OUT/Contents/Resources/DWARF/Framework_Name" if [ ! -f "$BIN" ]; then exit 0 fi if [ ! -f "$OUT_DWARF" ]; then mkdir -p "$ARCHIVE_PATH/dSYMs" rm -rf "$OUT" xcrun dsymutil "$BIN" -o "$OUT" fi if [ ! -f "$OUT_DWARF" ]; then exit 1 fi BIN_UUIDS="$(xcrun dwarfdump --uuid "$BIN" | awk '{print $2}' | sort)" DSYM_UUIDS="$(xcrun dwarfdump --uuid "$OUT_DWARF" | awk '{print $2}' | sort)" if [ "$BIN_UUIDS" != "$DSYM_UUIDS" ]; then exit 1 fi
Replies
Boosts
Views
Activity
Mar ’26
Reply to Xcode 16 warning about missing symbols of static framework
I am seeing a similar issue, but only for my Mac Catalyst archive on XCode 26. My app is a SwiftUI application that embeds an Objective-C framework built from a separate Xcode project. The framework binary itself does have UUIDs, but when I inspect the .xcarchive, the corresponding framework dSYM is missing from the archive’s dSYMs folder. What is confusing is that this does not happen for the iOS build. I use the same framework target, and when I archive the iOS app and upload to TestFlight, I do not get the warning. The problem only appears when I archive the Mac Catalyst version. So in summary: • The embedded framework binary is present in the archive • The framework executable has valid UUIDs • The app archive’s dSYMs folder does not contain the matching dSYM for that embedded framework • This only happens for Mac Catalyst • The same setup works correctly for iOS Has anyone seen Catalyst archives skip generating or packaging dSYMs for embedded frameworks, even though the binary itself contains debug information?
Replies
Boosts
Views
Activity
Mar ’26