source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '11.0'

def shared_pods
    use_frameworks!
    pod 'OpenCV', '3.4.2'
    pod "AFNetworking"
    pod 'InAppSettingsKit'
    pod 'SWRevealViewController'
    pod 'GreenDayDatePicker'
    pod 'GRKBarGraphView'
    pod 'CouchbaseLite', '~> 2.8.4'
    pod 'RNCryptor-objc'
    pod 'MMNumberKeyboard'
    pod 'RFKeyboardToolbar'
    pod 'DateTools'
    pod 'Bugsnag'
    pod "ZXCVBN"
    pod 'ios-ntp'
end


target 'ZipGrade' do
    shared_pods
end

target 'ZipGradeTestsB' do
    shared_pods
end

post_install do |installer|
    installer.generated_projects.each do |project|
          project.targets.each do |target|
              target.build_configurations.each do |config|
                  config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
               end
          end
   end
end
