Dynamic Framework DSYMs

I used to distribute framework with it’s dsyms in order to symbolicate customers crashes but suddenly the UUID came from crash reports is different from our UUID I checked it multiple times but most probably the framework is recompiled again on TestFlight and generates a new DSYMs which is not mentioned anywhere

you can check this link also

https://forums.developer.apple.com/thread/70716


I used this script:

# Build using Simulator



xcodebuild OTHER_CFLAGS="-fembed-bitcode-marker" -project "${PROJECT_FILE_PATH}" -target "${TARGET_NAME}" -configuration 'Release' -sdk 'iphonesimulator' BUILD_DIR="${BUILD_DIR}" TARGET_BUILD_DIR="${TARGET_BUILD_DIR}" OBJROOT="${OBJROOT}" BUILD_ROOT="${BUILD_ROOT}" CONFIGURATION_BUILD_DIR="${IPHONE_SIMULATOR_BUILD_DIR}/i386" SYMROOT="${SYMROOT}" ARCHS='i386 x86_64' VALID_ARCHS='i386 x86_64' CLANG_ENABLE_MODULES=YES TARGETED_DEVICE_FAMILY="1,2" $ACTION



# Build the other (non-simulator) platform

xcodebuild OTHER_CFLAGS="-fembed-bitcode" -project "${PROJECT_FILE_PATH}" -target "${TARGET_NAME}" -configuration 'Release' -sdk 'iphoneos' BUILD_DIR="${BUILD_DIR}" TARGET_BUILD_DIR="${TARGET_BUILD_DIR}" OBJROOT="${OBJROOT}" BUILD_ROOT="${BUILD_ROOT}" CONFIGURATION_BUILD_DIR="${IPHONE_DEVICE_BUILD_DIR}/arm" SYMROOT="${SYMROOT}" ARCHS='arm64 armv7 armv7s' VALID_ARCHS='arm64 armv7 armv7s' CLANG_ENABLE_MODULES=YES TARGETED_DEVICE_FAMILY="1,2" $ACTION


Then I use Lipo to create a fat binary


Any help please ?

Have you tried disabling Bitcode?

Have you been able to solve this problem ?

It looks like I have similar issue.


I have framework with bitcode enabled. I have BCSymbolMap and dSYMs for this framework but it looks like UUID of framework changes when it is uploaded to TestFlight and I am unable to symbilicate crash reports.

I tried to add dSYM of framework as described here: https://stackoverflow.com/questions/50947279/how-to-include-dsym-file-of-an-embedded-framework-to-an-app-archive but it doesn't work - I get ITMS-90034: Missing or invalid signature when uploading to TestFlight.

It worked as described in above SO link. I had to add dSYMS and generated BCSymbolMaps files of linked framework.
Dynamic Framework DSYMs
 
 
Q