# Uncomment the next line to define a global platform for your project
  platform :ios, '12.0'

# 防止 TUIKit 组件里的 *.xcassets 与您项目里面冲突。
install! 'cocoapods', :disable_input_output_paths => true

  target 'KulexiuForTeacher' do
  
  # 忽略引入库的所有警告(强迫症者的福音啊)
 inhibit_all_warnings!
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  #use_frameworks!
   

  pod 'JCore', '2.7.1-noidfa'
  pod 'JPush', '4.3.0'
  
  pod 'Bugly'
  pod 'Whiteboard'
  pod 'RSKImageCropper'
  pod 'TYCyclePagerView'
  
  
#  友盟
#  pod 'UMCommon'
#  pod 'UMDevice'
#  pod 'UMAPM'
#  # 可选,UI模块(分享面板),由原来的UMCShare/UI变为了UMShare/UI
#    pod 'UMShare/UI'
#  # 分享SDK 在线依赖其它平台仅支持手动集成[友盟+官网-开发者中心-sdk下载页-sdk下载]
#    pod 'UMShare/Social/WeChat'
#    pod 'UMShare/Social/Sina'
#    pod 'UMShare/Social/QQ'
    
  pod 'SSZipArchive'
  
#  pod "WechatOpenSDK"
  pod 'AlipaySDK-iOS'
  
  # 集成聊天功能
  pod 'TUIChat/UI_Classic', '7.4.4643'
  # 集成会话功能
  pod 'TUIConversation/UI_Classic', '7.4.4643'
  # 集成群组功能
  pod 'TUIGroup/UI_Classic', '7.4.4643'
  # 集成搜索功能(需要购买旗舰版套餐)
  pod 'TUISearch/UI_Classic', '7.4.4643'
  
  # 接入腾讯直播
  pod 'TXLiteAVSDK_Professional', '11.7.15304'


    
    pod 'CocoaHTTPServer'
    # 本地
    pod 'KSToolsLibrary', :path => '/Users/wangzhi/WorkSpace/TargetModule/my-local-repo/KSToolsLibrary'
    pod 'KSCloudAccompanyLibrary', :path => '/Users/wangzhi/WorkSpace/TargetModule/my-local-repo/KSCloudAccompanyLibrary'
    
  # Pods for KulexiuForTeacher b


end


#Pods config
#Fix Xcode14 Bundle target error
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'] = '12.0'
        # 查找 Debug 的 xcconfig 文件
        if ['DEV', 'TEST'].include? config.name
          # Define DEBUG macro for DEV and TEST configurations
          config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'DEBUG=1']
          # 获取对应的 Debug 配置
          debug_config = target.build_configurations.find { |conf| conf.name == 'Debug' }
          # 使用相同的 xcconfig 文件
          config.base_configuration_reference = debug_config.base_configuration_reference
        end
      end
    end
  end
end