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

  spec.name         = "SwiftWarplyFramework"
  spec.version      = "0.2.62"
  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.2.62" }
  # 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", "SwiftWarplyFramework/**/*.{swift,storyboard,xib,otf,ttf,xcassets}"
  # 'SwiftWarplyFramework/**/*', 
  # , "SwiftWarplyFramework/**/*.{png,jpeg,jpg,json,xcassets,imageset,strings}", "SwiftWarplyFramework/Classes/**/*"

  # spec.vendored_frameworks = "SwiftWarplyFramework.framework"
  spec.exclude_files = "Classes/Exclude"
  
  spec.dependency 'RSBarcodes_Swift', '~> 5.1.1'
  spec.dependency 'SwiftEventBus'
  
  # spec.resource_bundles = { 'ResourcesBundle' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}'] }
  spec.resource_bundles = { 'ResourcesBundle' => ['SwiftWarplyFramework/**/*.{storyboard,xib,otf,ttf,xcassets}'] }

  # spec.resources = ['SwiftWarplyFramework/SwiftWarplyFramework/Media/*.{xcassets}', 'SwiftWarplyFramework/SwiftWarplyFramework/Media/*.xib']
  # spec.resources = "SwiftWarplyFramework/**/*.xcassets"

  # 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