Skip to content

Commit c92bbbf

Browse files
authored
Merge pull request #12669 from CocoaPods/amorde/validator-fix
Fix validation failure from new xcodeproj settings
2 parents 2d876fc + 204b415 commit c92bbbf

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
1212

1313
##### Bug Fixes
1414

15-
* None.
15+
* Fix an issue breaking `pod lib lint` / `pod spec lint` due to new `ENABLE_USER_SCRIPT_SANDBOXING` setting.
16+
[Eric Amorde](https://github.com/amorde)
17+
[#12664](https://github.com/CocoaPods/CocoaPods/issues/12664)
1618

1719

1820
## 1.16.0 (2024-10-29)

lib/cocoapods/validator.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,8 @@ def create_app_project
603603
# Ensure this is set generally but we have seen an issue with ODRs:
604604
# see: https://github.com/CocoaPods/CocoaPods/issues/10933
605605
config.build_settings['PRODUCT_BUNDLE_IDENTIFIER'] = 'org.cocoapods.${PRODUCT_NAME:rfc1034identifier}'
606+
# Our run script phases require sandboxing to be disabled.
607+
config.build_settings['ENABLE_USER_SCRIPT_SANDBOXING'] = 'NO'
606608
end
607609
app_project.save
608610
app_project.recreate_user_schemes

0 commit comments

Comments
 (0)