Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit cd699da

Browse files
author
Ryan Nystrom
committed
attempt to fix iTunes Connect issue where watchOS needs min target
1 parent 966cb1a commit cd699da

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Podfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,13 @@ end
7474
post_install do |installer|
7575
system("sh tools/generateAcknowledgements.sh")
7676
end
77+
78+
post_install do |installer|
79+
installer.pods_project.targets.each do |target|
80+
target.build_configurations.each do |config|
81+
if config.build_settings['SDKROOT'] == 'watchos'
82+
config.build_settings['WATCHOS_DEPLOYMENT_TARGET'] = '4.2'
83+
end
84+
end
85+
end
86+
end

0 commit comments

Comments
 (0)