Closed UnsafePointer closed 6 years ago
Maybe you can add an opt-out
parameter to do not link dSYM. I think there'll be way more people interested in having dSYM linked by default than the other way around. WDYT?
Thanks for the PR! 🍷
Are there any updates on this?
OK, just looked this over, sorry for the year late review - but better than nothing.
There is a feature for cocoapods-plugins that allows passing options:
plugin 'cocoapods-rome', {
dsym: true,
configuration: "Release"
}
maybe? ( you can see a usage example in https://github.com/CocoaPods/Rome/pull/61 )
This'll need docs, in the README - but conceptually I think it should get merged 👍
@orta thanks for the review! Agree, better than nothing 🎉
@Lascorbe @orta I included both of your comments, thank you.
Cool, and I just merged another PR, so you have merge conflicts too ;)
@segiddins thanks for the review!
Cool, yep, looks good to me
Cocoapods Rome is a great alternative for Carthage if you depend on libraries that don't support Carthage yet and you'd like to avoid the CocoaPods integration with the user project. The only thing missing is that you can't debug the third party frameworks properly because the dSYM information is deleted after build and it defaults to "Release" configuration which has compiler optimisations that affect the debugger (wrong stepping and missing variable).
This PR includes the following:
cp -R "${SOURCE_ROOT}/third_party_dependencies/dSYM/${PLATFORM_NAME}"/* $BUILT_PRODUCTS_DIR
to copy the output to the right place.