Skip to content

Commit b5fb0a9

Browse files
Merge pull request #575 from cltnschlosser/cocoapods-scripts
Fix for scripts being included in app bundle when using cocoapods
2 parents 3bb654a + 46eff59 commit b5fb0a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Apollo.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Pod::Spec.new do |s|
2222

2323
s.subspec 'Core' do |ss|
2424
ss.source_files = 'Sources/Apollo/*.swift'
25-
ss.resources = ['scripts/check-and-run-apollo-cli.sh', 'scripts/check-and-run-apollo-codegen.sh']
25+
ss.preserve_paths = ['scripts/check-and-run-apollo-cli.sh', 'scripts/check-and-run-apollo-codegen.sh']
2626
end
2727

2828
# Apollo provides exactly one persistent cache out-of-the-box, as a reasonable default choice for

0 commit comments

Comments
 (0)