This pull request will set STRIP_INSTALLED_PRODUCT=NO in the generated Pods Xcode project.
When performing an Archive build (via Product->Archive, but not Product->Build For->Archiving), Xcode will ignore target-level settings for STRIP_INSTALLED_PRODUCT and use the project's setting instead. Since the default setting for STRIP_INSTALLED_PRODUCT at the project level is YES, this means Xcode will strip debug symbols from CocoaPods-generated libraries when Archiving. The dSYM generated by the Archive build will therefore be missing symbols from any CocoaPods used in the project. This, in turn, makes it impossible to fully symbolicate crash logs from apps built with CocoaPods via the Archive build. Disabling STRIP_INSTALLED_PRODUCT at the project level skips this strip process, allowing the resulting dSYM to contain symbols from CocoaPods. This does not affect stripping debug symbols from the final application binary.
Add the STRIP_INSTALLED_PRODUCT buld setting to the Pods project, set…
…ting it to 'NO'. This will prevent Xcode from stripping debug symbols from the Pods libraries while performing an archive build, allowing the main project targets to include pods symbols in generated dSYMs for Archive builds.
Update spec to pass with the addition of the STRIP_INSTALLED_PRODUCT …
…to the generated Pods Xcode projects.
Coverage remained the same when pulling 61a7831 on amolloy:DontStripInstalledProduct into 739f4f4 on CocoaPods:master.
Sounds good and reasonable to me, if @alloy agrees could you add a note to the Changelog?
Damn, I fully agree. 👍
Add description of STRIP_INSTALLED_PRODUCT change to the changelog.
Coverage remained the same when pulling a1428d0 on amolloy:DontStripInstalledProduct into 739f4f4 on CocoaPods:master.