Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Parse-OSX.podspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Pod::Spec.new do |s|
s.deprecated = true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is redundant -- only use deprecated_in_favor_of

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL, thanks. Done in #55

s.deprecated_in_favor_of = 'Parse'

s.name = 'Parse-OSX'
s.version = '1.8.0'
s.license = { :type => 'Commercial', :text => "See https://www.parse.com/about/terms" }
Expand Down
40 changes: 29 additions & 11 deletions Parse.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,43 @@ Pod::Spec.new do |s|

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

s.platform = :ios
s.platform = :ios, :osx
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'

s.requires_arc = true

s.source_files = 'Parse/*.{h,m}',
'Parse/Internal/**/*.{h,m}'
s.public_header_files = 'Parse/*.h'

s.osx.exclude_files = 'Parse/PFNetworkActivityIndicatorManager.{h,m}',
'Parse/PFProduct.{h,m}',
'Parse/PFPurchase.{h,m}',
'Parse/Internal/PFAlertView.{h,m}',
'Parse/Internal/Product/**/*.{h,m}',
'Parse/Internal/Purchase/**/*.{h,m}'

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

s.frameworks = 'AudioToolbox',
'CFNetwork',
'CoreGraphics',
'CoreLocation',
'QuartzCore',
'Security',
'StoreKit',
'SystemConfiguration'
s.weak_frameworks = 'Accounts',
'Social'
s.ios.frameworks = 'AudioToolbox',
'CFNetwork',
'CoreGraphics',
'CoreLocation',
'QuartzCore',
'Security',
'StoreKit',
'SystemConfiguration'
s.ios.weak_frameworks = 'Accounts',
'Social'
s.osx.frameworks = 'ApplicationServices',
'CFNetwork',
'CoreGraphics',
'CoreLocation',
'QuartzCore',
'Security',
'SystemConfiguration'

s.libraries = 'z', 'sqlite3'

s.dependency 'Bolts/Tasks', '>= 1.2.0'
Expand Down