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 "iOS-KS3SDK", "~>1.0.5"
  19. # pod "WechatOpenSDK"
  20. pod 'AlipaySDK-iOS'
  21. # 集成聊天功能
  22. pod 'TUIChat/UI_Classic'
  23. # 集成会话功能
  24. pod 'TUIConversation/UI_Classic'
  25. # 集成群组功能
  26. pod 'TUIGroup/UI_Classic'
  27. # 集成搜索功能(需要购买旗舰版套餐)
  28. pod 'TUISearch/UI_Classic'
  29. # 接入腾讯直播
  30. pod 'TXLiteAVSDK_Professional'
  31. # Pods for KulexiuForStudent
  32. pod 'CocoaHTTPServer'
  33. # 本地
  34. pod 'KSToolsLibrary', :path => '/Users/wangzhi/WorkSpace/TargetModule/my-local-repo/KSToolsLibrary'
  35. pod 'KSCloudAccompanyLibrary', :path => '/Users/wangzhi/WorkSpace/TargetModule/my-local-repo/KSCloudAccompanyLibrary'
  36. target 'KulexiuForStudentTests' do
  37. inherit! :search_paths
  38. # Pods for testing
  39. end
  40. target 'KulexiuForStudentUITests' do
  41. # Pods for testing
  42. end
  43. end
  44. #Pods config
  45. #Fix Xcode14 Bundle target error
  46. post_install do |installer|
  47. installer.generated_projects.each do |project|
  48. project.targets.each do |target|
  49. target.build_configurations.each do |config|
  50. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
  51. # 查找 Debug 的 xcconfig 文件
  52. if ['DEV', 'TEST'].include? config.name
  53. # Define DEBUG macro for DEV and TEST configurations
  54. config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'DEBUG=1']
  55. # 获取对应的 Debug 配置
  56. debug_config = target.build_configurations.find { |conf| conf.name == 'Debug' }
  57. # 使用相同的 xcconfig 文件
  58. config.base_configuration_reference = debug_config.base_configuration_reference
  59. end
  60. end
  61. end
  62. end
  63. end