48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
# Uncomment the next line to define a global platform for your project
 | 
						|
 platform :ios, '16.6'
 | 
						|
 | 
						|
target 'SodaLive' do
 | 
						|
  # Comment the next line if you don't want to use dynamic frameworks
 | 
						|
  use_frameworks!
 | 
						|
 | 
						|
  # Pods for SodaLive
 | 
						|
  pod 'BootpayUI', '4.4.10'
 | 
						|
  pod 'AgoraRtm', '2.2.4'
 | 
						|
 | 
						|
end
 | 
						|
 | 
						|
target 'SodaLive-dev' do
 | 
						|
  # Comment the next line if you don't want to use dynamic frameworks
 | 
						|
  use_frameworks!
 | 
						|
 | 
						|
  # 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|
 | 
						|
              target.build_configurations.each do |config|
 | 
						|
                  config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.6'
 | 
						|
               end
 | 
						|
          end
 | 
						|
   end
 | 
						|
end
 | 
						|
 |