Project on Qt for iOS and Android. The build is performed on TeamCity using xcodebuild.

step 1.

xcodebuild archive -project ./MyApp.xcodeproj -scheme MyApp -destination generic/platform=iOS -archivePath ./MyApp.xcarchive IPHONEOS_DEPLOYMENT_TARGET=6.0 CODE_SIGN_IDENTITY="iPhone Developer: ..." CODE_SIGN_ENTITLEMENTS=MyApp.entitlements DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" GENERATE_DEBUG_SYMBOLS=YES STRIP_STYLE="non-global" SEPARATE_STRIP=YES 

step 2.

 xcodebuild -exportArchive -archivePath ./MyApp.xcarchive -exportPath ./MyApp -exportFormat ipa -exportProvisioningProfile MyAppDevelopProfile 

After step 1, you need to get a sym file or files for future use with Breakpad. If you open the result of the first step - MyApp.xcarchive (Show Package Contents), then it contains the dSYMs directory. Unfortunately, there are no files in it.

When learning how to work with breakpad when launching a project locally without an archive (launch on iPhone) from xCode, there is MyApp.app in the build directory. Using the dump_syms utility, retrieved information from the ./MyApp.app/MyApp file. In the current task, when building with xcodebuild, in MyApp.xcarchive, you can also find this file along the path ./MyApp.xcarchive/Products/Applications/MyApp.app/MyApp. But the utility dump_syms pulls out only the addresses of QQmlJS :: AST :: functions.

    1 answer 1

    a set of parameters that managed to get dSYMs:

     DEBUG_INFORMATION_FORMAT ="dwarf-with-dsym" GENERATE_DEBUG_SYMBOLS =YES STRIP_STYLE ="non-global" SEPARATE_STRIP =YES COPY_PHASE_STRIP =NO GCC_GENERATE_DEBUGGING_SYMBOLS =YES STRIP_INSTALLED_PRODUCT =NO DEPLOYMENT_POSTPROCESSING =YES 

    perhaps there are unnecessary, did not try to minimize