# Uncomment the next line to define a global platform for your project platform :ios, '13.0' target 'yana' do # Comment the next line if you don't want to use dynamic frameworks use_frameworks! # Pods for yana # # IM 即时通讯 # pod 'NIMSDK_LITE' # # 基础库 # pod 'NEChatKit', '10.6.1' # pod 'NEChatUIKit', '10.6.1' # 会话(聊天)组件 # pod 'NEContactUIKit', '10.6.1' # 通讯录组件 # pod 'NELocalConversationUIKit', '10.6.1' # 本地会话列表组件。 # Networks pod 'Alamofire' end post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' end end # 新增冲突处理脚本 installer.pods_project.targets.each do |target| target.build_phases.each do |phase| if phase.respond_to?(:name) && phase.name == 'Embed Frameworks' phase.input_paths.delete_if { |path| path.end_with?('nimsdk.xcframework', 'nimsocketrocket.xcframework', 'nimquic.xcframework', 'nimnos.xcframework') } end end end end