source 'https://cdn.cocoapods.org/'

IOS_PLATFORM = "12.0"

# settings
platform :ios, IOS_PLATFORM

use_frameworks!
# inhibit_all_warnings!

target 'Boardy_Example' do
  pod 'Boardy', :path => '../'
  pod 'Boardy/ComponentKit', :path => '../'
#  pod 'Boardy/DeepLink', :path => '../'
  pod 'Boardy/Composable', :path => '../'
  pod 'Boardy/ModulePlugin', :path => '../'
#  pod 'Boardy/RxStoreRef', :path => '../'
#  pod 'Boardy/Runtime', :path => '../'
  pod 'UIComposable/DiffUI' #, :git => 'https://github.com/congncif/UIComposable.git', :branch => 'master'
  
#  pod 'ReferenceStoreManager', :git => 'https://github.com/congncif/RxReferenceStoreManager.git'
  
#  pod 'RIBs' , :git => 'https://github.com/uber/RIBs.git', :branch => 'master'
#  pod 'ViewStateCore'
  pod 'SiFUtilities'
#  pod 'Resolver' , '1.2.1'
  
  pod "SwiftFormat/CLI"
  
  pod "Dashboard", :path => "submodules/Dashboard"
  pod "DashboardPlugins", :path => "submodules/Dashboard"
  
  pod "Authentication", :path => "submodules/Authentication"
  pod "AuthenticationPlugins", :path => "submodules/Authentication"
  
  pod "EmployeeManagement", :path => "submodules/EmployeeManagement"
  pod "EmployeeManagementPlugins", :path => "submodules/EmployeeManagement"

  target 'Boardy_Tests' do
    inherit! :search_paths
  end
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings["ENABLE_BITCODE"] = "NO"
      config.build_settings["CODE_SIGNING_ALLOWED"] = "NO"

      config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = IOS_PLATFORM
    end
  end
end
