diff --git a/plugin/src/withAirshipIOS.ts b/plugin/src/withAirshipIOS.ts index d217699..0831475 100644 --- a/plugin/src/withAirshipIOS.ts +++ b/plugin/src/withAirshipIOS.ts @@ -171,6 +171,8 @@ const withAirshipServiceExtensionPod: ConfigPlugin = (con return withPodfile(config, async (config) => { const airshipServiceExtensionPodfileSnippet = ` target '${NOTIFICATION_SERVICE_EXTENSION_TARGET_NAME}' do + use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks'] + use_frameworks! :linkage => ENV['USE_FRAMEWORKS'].to_sym if ENV['USE_FRAMEWORKS'] pod 'AirshipServiceExtension' end `;