We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bb2c77 + c08ad5a commit 8ee605bCopy full SHA for 8ee605b
plugin/src/withPodfile.ts
@@ -35,7 +35,8 @@ export const withPodfile: ConfigPlugin<{ targetName: string }> = (
35
src: podFileContent,
36
newSrc: `installer.pods_project.targets.each do |target|
37
target.build_configurations.each do |config|
38
- config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'No'
+ # Sentry has build errors unless configured as 'YES' for the Sentry target: https://github.com/bndkt/react-native-widget-extension/issues/24
39
+ config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = target.name == 'Sentry' ? 'YES' : 'No'
40
end
41
end`,
42
anchor:
0 commit comments