diff --git a/PodBuilder.podspec b/PodBuilder.podspec new file mode 100644 index 0000000..4ea01fb --- /dev/null +++ b/PodBuilder.podspec @@ -0,0 +1,231 @@ +Pod::Spec.new do |s| + s.name = "PodBuilder" + s.version = "0.0.1" + s.summary = "Prebuilt frameworks" + + s.description = <<-DESC + A set of prebuilt frameworks to make compilation faster + DESC + + s.homepage = "https://www.subito.it" + s.license = 'Apache License, Version 2.0' + s.author = { "Tomas Camin" => "tomas.camin@schibsted.com" } + s.source = { :git => "https://www.subito.it", :tag => s.version.to_s } + + s.platform = :ios, '11.0' + s.requires_arc = true + + s.subspec 'AFNetworking' do |p| + p.vendored_frameworks = 'Rome/AFNetworking.framework' + p.frameworks = 'Security', 'SystemConfiguration' + end + + s.subspec 'AGWindowView' do |p| + p.vendored_frameworks = 'Rome/AGWindowView.framework' + p.frameworks = 'CoreGraphics', 'Foundation', 'UIKit' + end + + s.subspec 'ATInternet-Apple-SDK' do |p| + p.vendored_frameworks = 'Rome/Tracker.framework' + p.frameworks = 'CoreData', 'CoreFoundation', 'CoreTelephony', 'SystemConfiguration', 'UIKit' + p.resources = 'Rome/Tracker.framework/*.{nib,bundle,xcasset,strings,png,jpg,tif,tiff,otf,ttf,ttc,plist,json,caf,wav,p12,momd}' + p.exclude_files = 'Rome/Tracker.framework/Info.plist' + end + + s.subspec 'Appboy-iOS-SDK' do |p| + p.vendored_frameworks = 'Rome/Appboy_iOS_SDK.framework','Rome/FLAnimatedImage.framework','Rome/SDWebImage.framework' + p.frameworks = 'CoreGraphics', 'CoreText', 'ImageIO', 'MobileCoreServices', 'QuartzCore', 'SystemConfiguration', 'WebKit' + end + + s.subspec 'BPForms' do |p| + p.vendored_frameworks = 'Rome/BPForms.framework','Rome/Masonry.framework' + end + + s.subspec 'BlocksKit' do |p| + p.vendored_frameworks = 'Rome/BlocksKit.framework' + end + + s.subspec 'Bolts' do |p| + p.vendored_frameworks = 'Rome/Bolts.framework' + end + + s.subspec 'CocoaAsyncSocket' do |p| + p.vendored_frameworks = 'Rome/CocoaAsyncSocket.framework' + end + + s.subspec 'DeepLinkParser' do |p| + p.vendored_frameworks = 'Rome/DeepLinkParser.framework' + end + + s.subspec 'FBSDKCoreKit' do |p| + p.vendored_frameworks = 'Rome/FBSDKCoreKit.framework','Rome/Bolts.framework' + end + + s.subspec 'FBSDKShareKit' do |p| + p.vendored_frameworks = 'Rome/FBSDKShareKit.framework','Rome/Bolts.framework','Rome/FBSDKCoreKit.framework' + end + + s.subspec 'FLAnimatedImage' do |p| + p.vendored_frameworks = 'Rome/FLAnimatedImage.framework' + p.frameworks = 'CoreGraphics', 'ImageIO', 'MobileCoreServices', 'QuartzCore' + end + + s.subspec 'FLEX' do |p| + p.vendored_frameworks = 'Rome/FLEX.framework' + p.frameworks = 'CoreGraphics' + end + + s.subspec 'HighlanderFoundationKit' do |p| + p.vendored_frameworks = 'Rome/HighlanderFoundationKit.framework' + end + + s.subspec 'KissXML' do |p| + p.vendored_frameworks = 'Rome/KissXML.framework' + p.libraries = 'xml2' + end + + s.subspec 'Kiwi' do |p| + p.vendored_frameworks = 'Rome/Kiwi.framework' + p.frameworks = 'XCTest' + end + + s.subspec 'Knocker' do |p| + p.vendored_frameworks = 'Rome/Knocker.framework' + end + + s.subspec 'Mantle' do |p| + p.vendored_frameworks = 'Rome/Mantle.framework' + p.frameworks = 'Foundation' + end + + s.subspec 'Masonry' do |p| + p.vendored_frameworks = 'Rome/Masonry.framework' + end + + s.subspec 'MessagingUIViews' do |p| + p.vendored_frameworks = 'Rome/MessagingUIViews.framework','Rome/CocoaAsyncSocket.framework','Rome/HighlanderFoundationKit.framework','Rome/KissXML.framework','Rome/XMPPFramework.framework' + p.frameworks = 'HighlanderFoundationKit', 'SystemConfiguration' + p.libraries = 'resolv', 'xml2', 'z' + end + + s.subspec 'Nimble' do |p| + p.vendored_frameworks = 'Rome/Nimble.framework' + end + + s.subspec 'OptimizelySDKCore' do |p| + p.vendored_frameworks = 'Rome/OptimizelySDKCore.framework' + p.frameworks = 'Foundation' + end + + s.subspec 'OptimizelySDKDatafileManager' do |p| + p.vendored_frameworks = 'Rome/OptimizelySDKDatafileManager.framework','Rome/OptimizelySDKCore.framework','Rome/OptimizelySDKShared.framework' + p.frameworks = 'Foundation' + end + + s.subspec 'OptimizelySDKEventDispatcher' do |p| + p.vendored_frameworks = 'Rome/OptimizelySDKEventDispatcher.framework','Rome/OptimizelySDKCore.framework','Rome/OptimizelySDKShared.framework' + p.frameworks = 'Foundation' + end + + s.subspec 'OptimizelySDKShared' do |p| + p.vendored_frameworks = 'Rome/OptimizelySDKShared.framework','Rome/OptimizelySDKCore.framework' + p.frameworks = 'Foundation' + end + + s.subspec 'OptimizelySDKUserProfileService' do |p| + p.vendored_frameworks = 'Rome/OptimizelySDKUserProfileService.framework','Rome/OptimizelySDKCore.framework','Rome/OptimizelySDKShared.framework' + p.frameworks = 'Foundation' + end + + s.subspec 'OptimizelySDKiOS' do |p| + p.vendored_frameworks = 'Rome/OptimizelySDKiOS.framework','Rome/OptimizelySDKCore.framework','Rome/OptimizelySDKDatafileManager.framework','Rome/OptimizelySDKEventDispatcher.framework','Rome/OptimizelySDKShared.framework','Rome/OptimizelySDKUserProfileService.framework' + p.frameworks = 'Foundation' + end + + s.subspec 'PrebidMobile' do |p| + p.vendored_frameworks = 'Rome/PrebidMobile.framework' + p.frameworks = 'CoreTelephony', 'Foundation', 'SystemConfiguration', 'UIKit' + end + + s.subspec 'QBImagePickerController' do |p| + p.vendored_frameworks = 'Rome/QBImagePickerController.framework' + p.frameworks = 'Photos' + end + + s.subspec 'Quick' do |p| + p.vendored_frameworks = 'Rome/Quick.framework' + p.frameworks = 'XCTest' + end + + s.subspec 'RXPromise' do |p| + p.vendored_frameworks = 'Rome/RXPromise.framework' + p.libraries = 'c++' + p.xcconfig = {"OTHER_LDFLAGS"=>"-ObjC"} + end + + s.subspec 'SAMKeychain' do |p| + p.vendored_frameworks = 'Rome/SAMKeychain.framework' + p.frameworks = 'Foundation', 'Security' + end + + s.subspec 'SAMTextView' do |p| + p.vendored_frameworks = 'Rome/SAMTextView.framework' + p.frameworks = 'CoreGraphics', 'UIKit' + end + + s.subspec 'SDWebImage' do |p| + p.vendored_frameworks = 'Rome/SDWebImage.framework','Rome/FLAnimatedImage.framework' + p.frameworks = 'CoreGraphics', 'ImageIO', 'MobileCoreServices', 'QuartzCore' + end + + s.subspec 'SKPhotoBrowser' do |p| + p.vendored_frameworks = 'Rome/SKPhotoBrowser.framework' + p.frameworks = 'UIKit' + end + + s.subspec 'SVProgressHUD' do |p| + p.vendored_frameworks = 'Rome/SVProgressHUD.framework' + p.frameworks = 'QuartzCore' + end + + s.subspec 'SVPullToRefresh' do |p| + p.vendored_frameworks = 'Rome/SVPullToRefresh.framework' + p.frameworks = 'QuartzCore' + end + + s.subspec 'SwipeCellKit' do |p| + p.vendored_frameworks = 'Rome/SwipeCellKit.framework' + end + + s.subspec 'TMReachability' do |p| + p.vendored_frameworks = 'Rome/TMReachability.framework' + p.frameworks = 'SystemConfiguration' + end + + s.subspec 'TOCropViewController' do |p| + p.vendored_frameworks = 'Rome/TOCropViewController.framework' + end + + s.subspec 'TTTAttributedLabel' do |p| + p.vendored_frameworks = 'Rome/TTTAttributedLabel.framework' + p.frameworks = 'CoreGraphics', 'CoreText', 'QuartzCore', 'UIKit' + end + + s.subspec 'UIWebView-Markdown' do |p| + p.vendored_frameworks = 'Rome/UIWebView_Markdown.framework','Rome/sundown.framework' + end + + s.subspec 'XMPPFramework-Schibsted' do |p| + p.vendored_frameworks = 'Rome/XMPPFramework.framework','Rome/CocoaAsyncSocket.framework','Rome/KissXML.framework' + p.frameworks = 'SystemConfiguration' + p.libraries = 'resolv', 'xml2', 'z' + end + + s.subspec 'libextobjc' do |p| + p.vendored_frameworks = 'Rome/libextobjc.framework' + end + + s.subspec 'sundown' do |p| + p.vendored_frameworks = 'Rome/sundown.framework' + end +end \ No newline at end of file