feature(agora): rtm version 1.4.10 -> 2.2.4

This commit is contained in:
Yu Sung
2025-10-30 15:58:57 +09:00
parent c7d165989c
commit 1159e5e53a
5 changed files with 423 additions and 298 deletions

16
Podfile
View File

@@ -7,6 +7,7 @@ target 'SodaLive' do
# Pods for SodaLive
pod 'BootpayUI', '4.4.10'
pod 'AgoraRtm', '2.2.4'
end
@@ -16,9 +17,24 @@ target 'SodaLive-dev' do
# Pods for SodaLive-dev
pod 'BootpayUI', '4.4.10'
pod 'AgoraRtm', '2.2.4'
end
pre_install do |installer|
# Path to the AgoraRtm Pod directory inside the CocoaPods sandbox
rtm_pod_path = File.join(installer.sandbox.root, 'AgoraRtm')
# Full path to aosl.xcframework
aosl_xcframework_path = File.join(rtm_pod_path, 'aosl.xcframework')
if File.exist?(aosl_xcframework_path)
puts "Deleting aosl.xcframework from #{aosl_xcframework_path}"
FileUtils.rm_rf(aosl_xcframework_path)
else
puts "aosl.xcframework not found, skipping deletion."
end
end
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|