From 0f1440d8d7731fc256fb931a9e0abc1b0a94d924 Mon Sep 17 00:00:00 2001 From: Nathan Ahn Date: Tue, 7 Oct 2025 14:49:39 -0400 Subject: [PATCH] Removing previous Sentry flag --- plugin/src/withPodfile.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/plugin/src/withPodfile.ts b/plugin/src/withPodfile.ts index 761efe7..bfc6934 100644 --- a/plugin/src/withPodfile.ts +++ b/plugin/src/withPodfile.ts @@ -1,4 +1,3 @@ -import { mergeContents } from "@expo/config-plugins/build/utils/generateCode"; import { ConfigPlugin, withDangerousMod } from "@expo/config-plugins"; import * as fs from "fs"; import * as path from "path"; @@ -30,22 +29,6 @@ export const withPodfile: ConfigPlugin<{ targetName: string }> = ( `use_expo_modules!(searchPaths: ["./node_modules", "../../node_modules", "../../../WidgetExtension"])` ); */ - podFileContent = mergeContents({ - tag: "react-native-widget-extension-1", - src: podFileContent, - newSrc: ` - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - # Sentry has build errors unless configured as 'YES' for the Sentry target: https://github.com/bndkt/react-native-widget-extension/issues/24 - config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = target.name == 'Sentry' ? 'YES' : 'No' - end - end -`, - anchor: /:ccache_enabled => podfile_properties\['apple\.ccacheEnabled'\] == 'true',/, - offset: 2, - comment: "#", - }).contents; - /* podFileContent = mergeContents({ tag: "react-native-widget-extension-2", src: podFileContent,