Podfile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. use_frameworks!
  2. platform :ios, '13.0'
  3. def ui
  4. pod 'SnapKit'
  5. end
  6. def tool
  7. pod 'Alamofire'
  8. pod 'TUICore'
  9. pod 'TUIChat'
  10. pod 'RTCRoomEngine','~> 3.0.0'
  11. pod 'TXLiteAVSDK_TRTC'
  12. pod 'TXAppBasic'
  13. pod 'TIMCommon'
  14. pod 'TUIBeauty'
  15. pod 'TIMPush'
  16. end
  17. def local
  18. pod 'TUIRoomKit', :path => "../TUIRoomKit/"
  19. end
  20. target 'DemoApp' do
  21. ui
  22. tool
  23. local
  24. target 'TXReplayKit_Screen' do
  25. inherit! :search_paths
  26. pod 'TXLiteAVSDK_TRTC/ReplayKitExt'
  27. end
  28. end
  29. post_install do |installer|
  30. installer.pods_project.targets.each do |target|
  31. target.build_configurations.each do |config|
  32. config.build_settings['ENABLE_BITCODE'] = 'NO'
  33. config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
  34. config.build_settings['VALID_ARCHS'] = 'arm64 arm64e armv7 armv7s x86_64 i386'
  35. config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
  36. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = 13.0
  37. if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
  38. target.build_configurations.each do |config|
  39. config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
  40. end
  41. end
  42. end
  43. end
  44. end