Much like the Android-gradle-groovy counterpart, CocoaPods and Podfile allow developers to hook custom Ruby scripts to the building process to automate various tasks, e.g., setting iOS targets, or uploading dSYM files for FirebaseCrashlytics. However, GM-generated Podfile for iOS does not provide injection hooks as GM-Android-gradle files do. It makes maintaining extensions across multiple projects a pain.
Describe the solution you'd like
I'd like to see not only Pod dependencies, but more hooks in the Podfile, or allow developers to provide custom injectable Podfile templates if possible.
At least there should be something like a ${YYiOSPodfileEnd} at the end of the Podfile, so hooks to post_install, post_integrate blocks can be injected.
Is your feature request related to a problem?
Much like the Android-gradle-groovy counterpart, CocoaPods and Podfile allow developers to hook custom Ruby scripts to the building process to automate various tasks, e.g., setting iOS targets, or uploading dSYM files for FirebaseCrashlytics. However, GM-generated Podfile for iOS does not provide injection hooks as GM-Android-gradle files do. It makes maintaining extensions across multiple projects a pain.
Describe the solution you'd like
I'd like to see not only Pod dependencies, but more hooks in the Podfile, or allow developers to provide custom injectable Podfile templates if possible.
At least there should be something like a ${YYiOSPodfileEnd} at the end of the Podfile, so hooks to post_install, post_integrate blocks can be injected.
Describe alternatives you've considered
No response
Additional context
Podfile syntax: https://guides.cocoapods.org/syntax/podfile.html