cordova-plugin-cocoapods-support
cordova-plugin-cocoapods-support copied to clipboard
How to add pod for specified target?
In order to add this to Podfile of my app:
target 'OneSignalNotificationServiceExtension' do
pod 'OneSignalXCFramework', '>= 5.0', '< 6.0'
end
I add this line to config.xml:
<pod name="OneSignalXCFramework" target="OneSignalNotificationServiceExtension" spec="~> 5.0.0" />
But the generated output is this:
target 'MyMainTarget' do
pod 'OneSignalXCFramework', '~> 5.0.0'
end
What is the way to replace "MyMainTarget" with "OneSignalNotificationServiceExtension"?