Skip to content

Commit 8319a75

Browse files
committed
Merge pull request #645 from ParsePlatform/nlutsenko.podspec
Add tvOS, watchOS platform support to podspec.
2 parents 5f9ba0b + 6e11018 commit 8319a75

File tree

2 files changed

+43
-78
lines changed

2 files changed

+43
-78
lines changed

Parse.dev.podspec

Lines changed: 0 additions & 67 deletions
This file was deleted.

Parse.podspec

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ Pod::Spec.new do |s|
88

99
s.source = { :git => "https://github.com/ParsePlatform/Parse-SDK-iOS-OSX.git", :tag => s.version.to_s }
1010

11-
s.platform = :ios, :osx
11+
s.platform = :ios, :osx, :tvos, :watchos
1212
s.ios.deployment_target = '7.0'
1313
s.osx.deployment_target = '10.9'
14+
s.tvos.deployment_target = '9.0'
15+
s.watchos.deployment_target = '2.0'
1416

1517
s.requires_arc = true
1618

@@ -26,26 +28,56 @@ Pod::Spec.new do |s|
2628
'Parse/Internal/Product/**/*.{h,m}',
2729
'Parse/Internal/Purchase/**/*.{h,m}',
2830
'Parse/Internal/PFMemoryEventuallyQueue.{h,m}'
31+
s.tvos.exclude_files = 'Parse/PFNetworkActivityIndicatorManager.{h,m}',
32+
'Parse/PFPush.{h,m}',
33+
'Parse/PFInstallation.{h,m}',
34+
'Parse/Internal/PFAlertView.{h,m}',
35+
'Parse/Internal/Push/**/*.{h,m}',
36+
'Parse/Internal/Installation/Controller/*.{h,m}',
37+
'Parse/Internal/Installation/Constants/*.{h,m}',
38+
'Parse/Internal/Installation/CurrentInstallationController/*.{h,m}',
39+
'Parse/Internal/Installation/PFInstallationPrivate.h',
40+
'Parse/Internal/Commands/PFRESTPushCommand.{h,m}'
41+
s.watchos.exclude_files = 'Parse/PFNetworkActivityIndicatorManager.{h,m}',
42+
'Parse/PFProduct.{h,m}',
43+
'Parse/PFPurchase.{h,m}',
44+
'Parse/PFPush.{h,m}',
45+
'Parse/PFInstallation.{h,m}',
46+
'Parse/Internal/PFAlertView.{h,m}',
47+
'Parse/Internal/PFReachability.{h,m}',
48+
'Parse/Internal/Product/**/*.{h,m}',
49+
'Parse/Internal/Purchase/**/*.{h,m}',
50+
'Parse/Internal/Push/**/*.{h,m}',
51+
'Parse/Internal/Installation/Controller/*.{h,m}',
52+
'Parse/Internal/Installation/Constants/*.{h,m}',
53+
'Parse/Internal/Installation/CurrentInstallationController/*.{h,m}',
54+
'Parse/Internal/Installation/PFInstallationPrivate.h',
55+
'Parse/Internal/Commands/PFRESTPushCommand.{h,m}',
56+
'Parse/Internal/PFMemoryEventuallyQueue.{h,m}'
2957

3058
s.resources = 'Parse/Resources/en.lproj'
3159

32-
s.ios.frameworks = 'AudioToolbox',
33-
'CFNetwork',
34-
'CoreGraphics',
35-
'CoreLocation',
36-
'QuartzCore',
37-
'Security',
38-
'StoreKit',
39-
'SystemConfiguration'
40-
s.ios.weak_frameworks = 'Accounts',
41-
'Social'
60+
s.ios.frameworks = 'AudioToolbox',
61+
'CFNetwork',
62+
'CoreGraphics',
63+
'CoreLocation',
64+
'QuartzCore',
65+
'Security',
66+
'StoreKit',
67+
'SystemConfiguration'
68+
s.ios.weak_frameworks = 'Accounts',
69+
'Social'
4270
s.osx.frameworks = 'ApplicationServices',
4371
'CFNetwork',
4472
'CoreGraphics',
4573
'CoreLocation',
4674
'QuartzCore',
4775
'Security',
4876
'SystemConfiguration'
77+
s.tvos.frameworks = 'CoreLocation',
78+
'StoreKit',
79+
'SystemConfiguration',
80+
'Security'
4981

5082
s.libraries = 'z', 'sqlite3'
5183

0 commit comments

Comments
 (0)