Skip to content

Commit 64d5ffe

Browse files
committed
Merge pull request #53 from ParsePlatform/nlutsenko.mergepods
Deprecate Parse-OSX pod, add OS X support to Parse pod.
2 parents 47f1d68 + ee70030 commit 64d5ffe

File tree

2 files changed

+32
-11
lines changed

2 files changed

+32
-11
lines changed

Parse-OSX.podspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
Pod::Spec.new do |s|
2+
s.deprecated = true
3+
s.deprecated_in_favor_of = 'Parse'
4+
25
s.name = 'Parse-OSX'
36
s.version = '1.8.0'
47
s.license = { :type => 'Commercial', :text => "See https://www.parse.com/about/terms" }

Parse.podspec

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,43 @@ 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
11+
s.platform = :ios, :osx
1212
s.ios.deployment_target = '7.0'
13+
s.osx.deployment_target = '10.9'
14+
1315
s.requires_arc = true
1416

1517
s.source_files = 'Parse/*.{h,m}',
1618
'Parse/Internal/**/*.{h,m}'
1719
s.public_header_files = 'Parse/*.h'
20+
21+
s.osx.exclude_files = 'Parse/PFNetworkActivityIndicatorManager.{h,m}',
22+
'Parse/PFProduct.{h,m}',
23+
'Parse/PFPurchase.{h,m}',
24+
'Parse/Internal/PFAlertView.{h,m}',
25+
'Parse/Internal/Product/**/*.{h,m}',
26+
'Parse/Internal/Purchase/**/*.{h,m}'
27+
1828
s.resources = 'Parse/Resources/en.lproj'
1929

20-
s.frameworks = 'AudioToolbox',
21-
'CFNetwork',
22-
'CoreGraphics',
23-
'CoreLocation',
24-
'QuartzCore',
25-
'Security',
26-
'StoreKit',
27-
'SystemConfiguration'
28-
s.weak_frameworks = 'Accounts',
29-
'Social'
30+
s.ios.frameworks = 'AudioToolbox',
31+
'CFNetwork',
32+
'CoreGraphics',
33+
'CoreLocation',
34+
'QuartzCore',
35+
'Security',
36+
'StoreKit',
37+
'SystemConfiguration'
38+
s.ios.weak_frameworks = 'Accounts',
39+
'Social'
40+
s.osx.frameworks = 'ApplicationServices',
41+
'CFNetwork',
42+
'CoreGraphics',
43+
'CoreLocation',
44+
'QuartzCore',
45+
'Security',
46+
'SystemConfiguration'
47+
3048
s.libraries = 'z', 'sqlite3'
3149

3250
s.dependency 'Bolts/Tasks', '>= 1.2.0'

0 commit comments

Comments
 (0)