feature(agora): rtm version 1.4.10 -> 2.2.4
This commit is contained in:
16
Podfile
16
Podfile
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user