how to generate dsym in Xcode project

Asked on 2024-07-31

1 search

To generate a dSYM file in an Xcode project, you need to follow these steps:

  1. Archive Your App:

    • Go to the Product menu and choose Archive. Xcode will build your app one more time and then bundle it up for you, showing the results in the organizer.
    • Xcode essentials
  2. Distribute Your App:

    • Select your archive in the organizer and click the Distribute App button. You'll be presented with several presets for distributing your app.
    • Xcode essentials
  3. Build Settings:

    • Ensure that your build settings are configured to generate dSYM files. This is typically set by default, but you can verify it by checking the Debug Information Format setting in your build settings. It should be set to DWARF with dSYM File.

By following these steps, Xcode will generate the necessary dSYM files during the build and archiving process.