SwiftWarplyFramework.podspec 5.25 KB
Pod::Spec.new do |spec|

  spec.name         = "SwiftWarplyFramework"
  spec.version      = "0.1.9"
  spec.summary      = "A framework used for several functionalities."

  spec.description  = "This is the Warply framework used for react native or swift apps for analytics, push notifications and the functionality of the app."

  spec.homepage     = "https://git.warp.ly/open-source/warply_sdk_framework.git"

  spec.license      = {
:type => 'MIT',
# :file => 'WarplySDKFrameworkIOS/LICENSE.txt'
}

  spec.author             = { "billy" => "skourasbl@gmail.com" }
 
  spec.platform     = :ios, "11.0"

  # spec.source       = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "0.1.9" }
  # spec.public_header_files = "SwiftWarplyFramework.framework/Headers/*.h"
  # spec.source_files = 'SwiftWarplyFramework/*.xcassets', 'SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets', "SwiftWarplyFramework/*.png", "SwiftWarplyFramework/*.xcassets", "SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets","SwiftWarplyFramework/*.xib", "SwiftWarplyFramework/SwiftWarplyFramework/*.xib", "SwiftWarplyFramework/*.{h,m}", "SwiftWarplyFramework/*.{h,m}", "SwiftWarplyFramework/**/*.{h,m}", "SwiftWarplyFramework/**/**/*.{h,m}", "SwiftWarplyFramework/**/**/**/*.{h,m}", "SwiftWarplyFramework/*.swift", "*.swift", "SwiftWarplyFramework/SwiftWarplyFramework/*.swift", "SwiftWarplyFramework/SwiftWarplyFramework/SwiftWarplyFramework/*.swift"
  # spec.vendored_frameworks = "SwiftWarplyFramework.framework"
  # spec.exclude_files = "Classes/Exclude"

  spec.source       = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "0.1.9" }
  # spec.public_header_files = "SwiftWarplyFramework.framework/Headers/*.h"
  spec.source_files = 'SwiftWarplyFramework/*', 'SwiftWarplyFramework/*.xcassets', 'SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets', "SwiftWarplyFramework/*.png", "SwiftWarplyFramework/*.xcassets", "SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets","SwiftWarplyFramework/*.xib", "SwiftWarplyFramework/SwiftWarplyFramework/*.xib", "SwiftWarplyFramework/*.{h,m}", "SwiftWarplyFramework/*.{h,m}", "SwiftWarplyFramework/**/*.{h,m}", "SwiftWarplyFramework/**/**/*.{h,m}", "SwiftWarplyFramework/**/**/**/*.{h,m}", "SwiftWarplyFramework/*.swift", "*.swift", "SwiftWarplyFramework/SwiftWarplyFramework/*.swift", "SwiftWarplyFramework/SwiftWarplyFramework/SwiftWarplyFramework/*.swift", "SwiftWarplyFramework/SwiftWarplyFramework/**/*.{swift,otf,storyboard,ttf,png,jpeg,jpg,xib,xcassets,json}", "SwiftWarplyFramework/SwiftWarplyFramework/*.{swift,otf,storyboard,ttf,png,jpeg,jpg,xib,xcassets,json}", "SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets/*.{imageset,png,jpeg,jpg,json}", "SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets/*.imageset/*.{png,jpeg,jpg,json}", "SwiftWarplyFramework/**/*.{png,jpeg,jpg,json,xcassets,imageset,strings}"
  # spec.vendored_frameworks = "SwiftWarplyFramework.framework"
  spec.exclude_files = "Classes/Exclude"
  
  spec.dependency 'RSBarcodes_Swift', '~> 5.1.1'
  spec.dependency 'SwiftEventBus'
  # spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/**/*.{lproj,storyboard}'] }
  # spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/SwiftWarplyFramework/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf}'] }
  spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}'] }
  # spec.resources = "SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets}"
  # spec.resources = "SwiftWarplyFramework/SwiftWarplyFramework/*.{lproj,storyboard,xcdatamodeld,xib,png,jpeg,jpg,xcassets,json}"
  # spec.resources = "SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets/*.imageset/*.{png,jpeg,jpg,json}"
  # spec.resources = "SwiftWarplyFramework/**/*.{png,jpeg,jpg,json,xcassets,imageset,strings}"
  spec.resources = "SwiftWarplyFramework/SwiftWarplyFramework/Media/**"
  # spec.resource = 'SwiftWarplyFramework/Main.storyboard'

  # spec.resource_bundles  = {
  #   'Resources' => ['WarplySDKFrameworkIOS/*.xcassets', 'WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xcassets']
  # }
  # spec.preserve_paths = 'WarplySDKFrameworkIOS/myApi.h', 'WarplySDKFrameworkIOS/swiftApi.swift'
  # spec.vendored_libraries = 'WarplySDKFrameworkIOS/myApi.h', 'WarplySDKFrameworkIOS/swiftApi.swift'
  # spec.ios.deployment_target = '11.0'
  # spec.frameworks = 'UIKit', 'Foundation'
  # spec.requires_arc = true
  # spec.subspec 'WarplySDKFrameworkIOS' do |mylib|
  #   mylib.source_files = 'WarplySDKFrameworkIOS/*.xcassets', 'WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xcassets', "WarplySDKFrameworkIOS/*.png", "WarplySDKFrameworkIOS/*.xcassets", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xcassets","WarplySDKFrameworkIOS/*.xib", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xib", "WarplySDKFrameworkIOS/*.{h,m}", "WarplySDKFrameworkIOS/*.{h,m}", "WarplySDKFrameworkIOS/**/*.{h,m}", "WarplySDKFrameworkIOS/**/**/*.{h,m}", "WarplySDKFrameworkIOS/**/**/**/*.{h,m}", "WarplySDKFrameworkIOS/*.swift", "*.swift", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.swift", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.swift"
  #   mylib.vendored_frameworks = 'WarplySDKFrameworkIOS/Frameworks/WarplySDKFrameworkIOS.framework'
  # end

end