Files
e-party-iOS/Podfile
edwinQQQ a0200c8859 feat: 添加项目基础文件和依赖管理
新增.gitignore、Podfile和Podfile.lock文件以管理项目依赖,添加README.md文件提供项目简介和安装步骤,创建NIMSessionManager、ClientConfig、LogManager和NetworkManager等管理类以支持网络请求和日志记录功能,更新AppDelegate和ContentView以集成NIM SDK和实现用户登录功能。
2025-05-29 16:14:28 +08:00

40 lines
1.2 KiB
Ruby

# Uncomment the next line to define a global platform for your project
platform :ios, '15.6'
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