Skip to content

Commit

Permalink
Merge pull request #23 from MaxAst/fix/sentry-error
Browse files Browse the repository at this point in the history
Do not modify APPLICATION_EXTENSION_API_ONLY for Sentry target
  • Loading branch information
MaxAst authored May 27, 2024
2 parents 7ee54ba + 6e96dc3 commit 770c180
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugin/src/withPodfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ export const withPodfile: ConfigPlugin<{
let podfileContent = fs.readFileSync(podFilePath).toString();

const postInstallBuildSettings = ` installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
unless target.name == 'Sentry'
target.build_configurations.each do |config|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'No'
end
end
end`;

Expand Down

0 comments on commit 770c180

Please sign in to comment.