Podfile 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # Uncomment the next line to define a global platform for your project
  2. platform :ios, '12.0'
  3. # 防止 TUIKit 组件里的 *.xcassets 与您项目里面冲突。
  4. install! 'cocoapods', :disable_input_output_paths => true
  5. target 'KulexiuForStudent' do
  6. # Comment the next line if you don't want to use dynamic frameworks
  7. # use_frameworks!
  8. # 忽略引入库的所有警告(强迫症者的福音啊)
  9. inhibit_all_warnings!
  10. pod 'JCore', '2.7.1-noidfa'
  11. pod 'JPush', '4.3.0'
  12. pod 'Bugly'
  13. pod 'Whiteboard'
  14. pod 'RSKImageCropper'
  15. pod 'CHIPageControl'
  16. pod 'TYCyclePagerView'
  17. pod 'SSZipArchive'
  18. # pod "WechatOpenSDK"
  19. pod 'AlipaySDK-iOS'
  20. # 集成聊天功能
  21. pod 'TUIChat/UI_Classic', '7.4.4643'
  22. # 集成会话功能
  23. pod 'TUIConversation/UI_Classic', '7.4.4643'
  24. # 集成群组功能
  25. pod 'TUIGroup/UI_Classic', '7.4.4643'
  26. # 集成搜索功能(需要购买旗舰版套餐)
  27. pod 'TUISearch/UI_Classic', '7.4.4643'
  28. # 接入腾讯直播
  29. pod 'TXLiteAVSDK_Professional', '11.7.15304'
  30. # Pods for KulexiuForStudent
  31. pod 'CocoaHTTPServer'
  32. # 本地
  33. pod 'KSToolsLibrary', :path => '/Users/wangzhi/WorkSpace/TargetModule/my-local-repo/KSToolsLibrary'
  34. pod 'KSCloudAccompanyLibrary', :path => '/Users/wangzhi/WorkSpace/TargetModule/my-local-repo/KSCloudAccompanyLibrary'
  35. target 'KulexiuForStudentTests' do
  36. inherit! :search_paths
  37. # Pods for testing
  38. end
  39. target 'KulexiuForStudentUITests' do
  40. # Pods for testing
  41. end
  42. end
  43. #Pods config
  44. #Fix Xcode14 Bundle target error
  45. post_install do |installer|
  46. installer.generated_projects.each do |project|
  47. project.targets.each do |target|
  48. target.build_configurations.each do |config|
  49. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
  50. # 查找 Debug 的 xcconfig 文件
  51. if ['DEV', 'TEST'].include? config.name
  52. # Define DEBUG macro for DEV and TEST configurations
  53. config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'DEBUG=1']
  54. # 获取对应的 Debug 配置
  55. debug_config = target.build_configurations.find { |conf| conf.name == 'Debug' }
  56. # 使用相同的 xcconfig 文件
  57. config.base_configuration_reference = debug_config.base_configuration_reference
  58. end
  59. end
  60. end
  61. end
  62. end