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

Commit 6c6c947

Browse files
authored
Attempt to fix iTunes Connect issue where watchOS needs min target (#2173)
* attempt to fix iTunes Connect issue where watchOS needs min target * fix podfile
1 parent cf09107 commit 6c6c947

File tree

9 files changed

+701
-693
lines changed

9 files changed

+701
-693
lines changed

Podfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,12 @@ end
7474

7575
post_install do |installer|
7676
system("sh tools/generateAcknowledgements.sh")
77+
78+
installer.pods_project.targets.each do |target|
79+
target.build_configurations.each do |config|
80+
if config.build_settings['SDKROOT'] == 'watchos'
81+
config.build_settings['WATCHOS_DEPLOYMENT_TARGET'] = '4.2'
82+
end
83+
end
84+
end
7785
end

Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ DEPENDENCIES:
8989
- TUSafariActivity (~> 1.0.0)
9090

9191
SPEC REPOS:
92-
https://github.com/CocoaPods/Specs.git:
92+
https://github.com/cocoapods/specs.git:
9393
- Alamofire
9494
- AlamofireNetworkActivityIndicator
9595
- Apollo
@@ -206,6 +206,6 @@ SPEC CHECKSUMS:
206206
Tabman: 69ce69b44cec1ad693b82c24cdbdf0c45915668c
207207
TUSafariActivity: afc55a00965377939107ce4fdc7f951f62454546
208208

209-
PODFILE CHECKSUM: 62ba9e300989cc352848de4583c67cac4da97783
209+
PODFILE CHECKSUM: cd04a784668fade26d053b1f1a225f3c76449423
210210

211-
COCOAPODS: 1.5.0
211+
COCOAPODS: 1.5.3

Pods/Manifest.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)