forked from parse-community/Parse-SDK-iOS-OSX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "refactor: Remove Cocoapods support (parse-community#1696)"
This reverts commit 03b2220.
- Loading branch information
Showing
4 changed files
with
283 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,256 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'Parse' | ||
s.version = '2.0.2' | ||
s.license = { :type => 'BSD', :file => 'LICENSE' } | ||
s.homepage = 'http://parseplatform.org/' | ||
s.summary = 'A library that gives you access to the powerful Parse cloud platform from your iOS/OS X/watchOS/tvOS app.' | ||
s.authors = 'Parse Community' | ||
s.social_media_url = 'https://twitter.com/ParsePlatform' | ||
|
||
s.source = { :git => 'https://github.com/parse-community/Parse-SDK-iOS-OSX.git', :tag => s.version.to_s } | ||
|
||
s.platform = :ios, :osx, :tvos, :watchos | ||
s.ios.deployment_target = '9.0' | ||
s.osx.deployment_target = '10.9' | ||
s.tvos.deployment_target = '10.0' | ||
s.watchos.deployment_target = '2.0' | ||
|
||
s.default_subspec = 'Core' | ||
|
||
s.subspec 'Core' do |s| | ||
s.requires_arc = true | ||
|
||
s.source_files = 'Parse/Parse/Source/*.{h,m}', | ||
'Parse/Parse/Internal/**/*.{h,m}' | ||
s.public_header_files = 'Parse/Parse/Source/*.h' | ||
s.private_header_files = 'Parse/Parse/Internal/**/*.h' | ||
|
||
s.ios.exclude_files = 'Parse/Parse/Internal/PFMemoryEventuallyQueue.{h,m}' | ||
s.osx.exclude_files = 'Parse/Parse/Source/PFNetworkActivityIndicatorManager.{h,m}', | ||
'Parse/Parse/Source/PFProduct.{h,m}', | ||
'Parse/Parse/Source/PFPurchase.{h,m}', | ||
'Parse/Parse/Internal/PFAlertView.{h,m}', | ||
'Parse/Parse/Internal/Product/**/*.{h,m}', | ||
'Parse/Parse/Internal/Purchase/**/*.{h,m}', | ||
'Parse/Parse/Internal/PFMemoryEventuallyQueue.{h,m}' | ||
s.tvos.exclude_files = 'Parse/Parse/Source/PFNetworkActivityIndicatorManager.{h,m}', | ||
'Parse/Parse/Internal/PFAlertView.{h,m}' | ||
s.watchos.exclude_files = 'Parse/Parse/Source/PFNetworkActivityIndicatorManager.{h,m}', | ||
'Parse/Parse/Source/PFProduct.{h,m}', | ||
'Parse/Parse/Source/PFPurchase.{h,m}', | ||
'Parse/Parse/Source/PFPush.{h,m}', | ||
'Parse/Parse/Source/PFPush+Synchronous.{h,m}', | ||
'Parse/Parse/Source/PFPush+Deprecated.{h,m}', | ||
'Parse/Parse/Source/PFInstallation.{h,m}', | ||
'Parse/Parse/Internal/PFAlertView.{h,m}', | ||
'Parse/Parse/Internal/PFReachability.{h,m}', | ||
'Parse/Parse/Internal/Product/**/*.{h,m}', | ||
'Parse/Parse/Internal/Purchase/**/*.{h,m}', | ||
'Parse/Parse/Internal/Push/**/*.{h,m}', | ||
'Parse/Parse/Internal/Installation/Controller/*.{h,m}', | ||
'Parse/Parse/Internal/Installation/Constants/*.{h,m}', | ||
'Parse/Parse/Internal/Installation/CurrentInstallationController/*.{h,m}', | ||
'Parse/Parse/Internal/Installation/PFInstallationPrivate.h', | ||
'Parse/Parse/Internal/Commands/PFRESTPushCommand.{h,m}', | ||
'Parse/Parse/Internal/PFMemoryEventuallyQueue.{h,m}' | ||
|
||
s.resource_bundle = { 'Parse' => 'Parse/Parse/Resources/en.lproj' } | ||
|
||
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.tvos.frameworks = 'CoreLocation', | ||
'StoreKit', | ||
'SystemConfiguration', | ||
'Security' | ||
|
||
s.libraries = 'z', 'sqlite3' | ||
|
||
s.dependency 'Bolts/Tasks', '1.9.1' | ||
s.user_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
|
||
s.pod_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
end | ||
|
||
s.subspec 'FacebookUtils' do |s| | ||
s.platform = :ios, :tvos | ||
s.ios.deployment_target = '12.0' | ||
s.tvos.deployment_target = '12.0' | ||
s.public_header_files = 'ParseFacebookUtils/ParseFacebookUtils/Source/*.h' | ||
s.source_files = 'ParseFacebookUtils/ParseFacebookUtils/Source/*.{h,m}' | ||
|
||
s.frameworks = 'AudioToolbox', | ||
'CFNetwork', | ||
'CoreGraphics', | ||
'CoreLocation', | ||
'QuartzCore', | ||
'Security', | ||
'SystemConfiguration' | ||
s.ios.weak_frameworks = 'Accounts', | ||
'Social' | ||
|
||
s.libraries = 'z', 'sqlite3' | ||
|
||
s.dependency 'Parse/Core' | ||
s.dependency 'Bolts/Tasks', '1.9.1' | ||
s.dependency 'FBSDKCoreKit', '= 15.1.0' | ||
s.dependency 'FBSDKLoginKit', '= 15.1.0' | ||
s.dependency 'FBSDKCoreKit_Basics', '= 15.1.0' | ||
s.user_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
|
||
s.pod_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=*simulator*]' => 'x86_64 armv7 arm64' } | ||
end | ||
|
||
s.subspec 'FacebookUtils-iOS' do |s| | ||
s.platform = :ios | ||
s.ios.deployment_target = '12.0' | ||
s.public_header_files = 'ParseFacebookUtilsiOS/ParseFacebookUtilsiOS/Source/*.h' | ||
s.private_header_files = 'ParseFacebookUtilsiOS/ParseFacebookUtilsiOS/Internal/**/*.h' | ||
s.source_files = 'ParseFacebookUtilsiOS/ParseFacebookUtilsiOS/Source/*.{h,m}', | ||
'ParseFacebookUtilsiOS/ParseFacebookUtilsiOS/Internal/**/*.{h,m}' | ||
|
||
s.frameworks = 'AudioToolbox', | ||
'CFNetwork', | ||
'CoreGraphics', | ||
'CoreLocation', | ||
'QuartzCore', | ||
'Security', | ||
'SystemConfiguration' | ||
s.ios.weak_frameworks = 'Accounts', | ||
'Social' | ||
|
||
s.libraries = 'z', 'sqlite3' | ||
|
||
s.dependency 'Parse/Core' | ||
s.dependency 'Parse/FacebookUtils' | ||
s.dependency 'Bolts/Tasks', '1.9.1' | ||
s.dependency 'FBSDKCoreKit', '= 15.1.0' | ||
s.dependency 'FBSDKLoginKit', '= 15.1.0' | ||
s.dependency 'FBSDKCoreKit_Basics', '= 15.1.0' | ||
s.user_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
|
||
s.pod_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64 armv7 arm64' } | ||
end | ||
|
||
s.subspec 'FacebookUtils-tvOS' do |s| | ||
s.platform = :tvos | ||
s.tvos.deployment_target = '12.0' | ||
s.public_header_files = 'ParseFacebookUtilsTvOS/ParseFacebookUtilsTvOS/Source/*.h' | ||
s.private_header_files = 'ParseFacebookUtilsTvOS/ParseFacebookUtilsTvOS/Internal/**/*.h' | ||
s.source_files = 'ParseFacebookUtilsTvOS/ParseFacebookUtilsTvOS/Source/*.{h,m}', | ||
'ParseFacebookUtilsTvOS/ParseFacebookUtilsTvOS/Internal/**/*.{h,m}' | ||
|
||
s.frameworks = 'AudioToolbox', | ||
'CFNetwork', | ||
'CoreGraphics', | ||
'CoreLocation', | ||
'QuartzCore', | ||
'Security', | ||
'SystemConfiguration' | ||
s.libraries = 'z', 'sqlite3' | ||
|
||
s.dependency 'Parse/Core' | ||
s.dependency 'Parse/FacebookUtils' | ||
s.dependency 'Bolts/Tasks', '1.9.1' | ||
s.dependency 'FBSDKTVOSKit', '= 15.1.0' | ||
s.dependency 'FBSDKShareKit', '= 15.1.0' | ||
s.user_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
|
||
s.pod_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=*simulator*]' => 'x86_64 armv7 arm64' } | ||
end | ||
|
||
s.subspec 'TwitterUtils' do |s| | ||
s.platform = :ios | ||
s.public_header_files = 'ParseTwitterUtils/ParseTwitterUtils/Source/*.h' | ||
s.source_files = 'ParseTwitterUtils/ParseTwitterUtils/Source/*.{h,m}', | ||
'ParseTwitterUtils/ParseTwitterUtils/Internal/**/*.{h,m}' | ||
s.private_header_files = 'ParseTwitterUtils/ParseTwitterUtils/Internal/**/*.h' | ||
s.resource_bundle = { 'TwitterUtils' => 'ParseTwitterUtils/ParseTwitterUtils/Resources/en.lproj' } | ||
s.frameworks = 'AudioToolbox', | ||
'CFNetwork', | ||
'CoreGraphics', | ||
'CoreLocation', | ||
'QuartzCore', | ||
'Security', | ||
'StoreKit', | ||
'SystemConfiguration' | ||
s.weak_frameworks = 'Accounts', | ||
'Social' | ||
s.libraries = 'z', 'sqlite3' | ||
s.dependency 'Parse/Core' | ||
s.user_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
|
||
s.pod_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
|
||
s.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' } | ||
end | ||
|
||
s.subspec 'UI' do |s| | ||
s.platform = :ios | ||
s.requires_arc = true | ||
s.ios.deployment_target = '9.0' | ||
s.source_files = 'ParseUI/ParseUI/Internal/**/*.{h,m}', | ||
'ParseUI/ParseUI/Source/*.{h,m}' | ||
s.exclude_files = 'ParseUI/ParseUIDemo/**/*', 'ParseUI/SignInWithAppleTests/' | ||
s.public_header_files = 'ParseUI/ParseUI/Source/*.h' | ||
s.private_header_files = 'ParseUI/ParseUI/Internal/**/*.h' | ||
s.resource_bundles = { 'ParseUI' => ['ParseUI/ParseUI/Resources/Localization/*.lproj'] } | ||
s.frameworks = 'Foundation', | ||
'UIKit', | ||
'CoreGraphics', | ||
'QuartzCore' | ||
s.dependency 'Parse/Core' | ||
s.user_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
|
||
s.pod_target_xcconfig = { | ||
'GENERATE_INFOPLIST_FILE' => 'YES' | ||
} | ||
end | ||
|
||
# prepare command for parseUI | ||
s.prepare_command = <<-CMD | ||
ruby ParseUI/Scripts/convert_images.rb \ | ||
ParseUI/ParseUI/Resources/Images/ \ | ||
ParseUI/Source/PFResources | ||
CMD | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters