Question

  1. What is a difference between “Strip Debug Symbols During Copy” and “Strip Linked Product” options?

  2. What does it mean if “Strip Debug Symbols During Copy” = YES and “Strip Linked Product” = NO?

  3. Is it possible to upload an application to the App Store with symbolicated data on the separate .dsym file (not on the binary)?

Was it helpful?

Solution 2

On the latest version of xCode on the new project the default options works well. So, it's not required to change them any more.

OTHER TIPS

from apple documentation:

Strip Debug Symbols During Copy

Description: Boolean value. Specifies whether copied binaries are stripped of debugging symbols.

Values:
YES: Copied binaries are stripped of debugging symbols. This does not cause the binary produced by the linker to be stripped. Use "Strip Linked Product" to have the linker strip the binary.
NO: Copied binaries are not stripped of debugging symbols
Default value: NO

Strip Linked Product

Description: Boolean value. Specifies whether to strip symbol information from the binary.

Values:
YES: Strips the generated binary when the prerequisite is met.
NO: Does not strip the generated binary.
Default value: NO

https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top