# 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 'KulexiuForStudent' do # Comment the next line if you don't want to use dynamic frameworks # use_frameworks! # 忽略引入库的所有警告(强迫症者的福音啊) inhibit_all_warnings! pod 'JCore', '2.7.1-noidfa' pod 'JPush', '4.3.0' pod 'Bugly' pod 'Whiteboard' pod 'RSKImageCropper' pod 'CHIPageControl' pod 'TYCyclePagerView' 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' # Pods for KulexiuForStudent pod 'CocoaHTTPServer' # 本地 pod 'KSToolsLibrary', :path => '/Users/wangzhi/WorkSpace/TargetModule/my-local-repo/KSToolsLibrary' pod 'KSCloudAccompanyLibrary', :path => '/Users/wangzhi/WorkSpace/TargetModule/my-local-repo/KSCloudAccompanyLibrary' target 'KulexiuForStudentTests' do inherit! :search_paths # Pods for testing end target 'KulexiuForStudentUITests' do # Pods for testing end 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