mirror of
				https://github.com/rive-app/rive-flutter.git
				synced 2025-10-31 18:58:02 +08:00 
			
		
		
		
	 b3898a9d55
			
		
	
	b3898a9d55
	
	
	
		
			
			https://2dimensions.slack.com/archives/C078KG6KAJY/p1729359775985179 Diffs= aa20d8aad4 Working on option C for update cycle (#8409) 1d5a580041 Layout Fixes (#8468) d60ea4cc71 Use imageAsset size for layout (#8462) f5e5406185 Fix inconsistent layout overflow behavior (#8463) ce39f8be9f Artboard object validation (#8464) bdb9eb01db search for ios sysroot only when necessary (#8437) 91d092f4fc runtime: add support for gradients in vector n-slicer (#8447) 5a4418dba6 Add an experimental "clockwiseAtomic" rendering mode (#8442) 78adb5f60b Ensure LayoutComponent doesnt try to access bg path if layout not compiled in (#8453) 4c83df9b7a Updating to latest harfbuzz for coretext issue (#8443) Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| platform :osx, '10.14'
 | |
| 
 | |
| # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
 | |
| ENV['COCOAPODS_DISABLE_STATS'] = 'true'
 | |
| 
 | |
| project 'Runner', {
 | |
|   'Debug' => :debug,
 | |
|   'Profile' => :release,
 | |
|   'Release' => :release,
 | |
| }
 | |
| 
 | |
| def flutter_root
 | |
|   generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__)
 | |
|   unless File.exist?(generated_xcode_build_settings_path)
 | |
|     raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first"
 | |
|   end
 | |
| 
 | |
|   File.foreach(generated_xcode_build_settings_path) do |line|
 | |
|     matches = line.match(/FLUTTER_ROOT\=(.*)/)
 | |
|     return matches[1].strip if matches
 | |
|   end
 | |
|   raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\""
 | |
| end
 | |
| 
 | |
| require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
 | |
| 
 | |
| flutter_macos_podfile_setup
 | |
| 
 | |
| target 'Runner' do
 | |
|   use_frameworks!
 | |
|   use_modular_headers!
 | |
| 
 | |
|   flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
 | |
|   target 'RunnerTests' do
 | |
|     inherit! :search_paths
 | |
|   end
 | |
| end
 | |
| 
 | |
| post_install do |installer|
 | |
|   installer.pods_project.targets.each do |target|
 | |
|     flutter_additional_macos_build_settings(target)
 | |
|   end
 | |
| end
 |