47 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Ruby
		
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Ruby
		
	
	
| 
 | |
| platform :ios, '13.0'
 | |
| 
 | |
| #source 'https://cdn.cocoapods.org/'
 | |
| source 'https://github.com/CocoaPods/Specs.git'
 | |
| source 'git@github.com:castbox/GuruSpecs.git'
 | |
| 
 | |
| target 'FusionAds_Example' do
 | |
|   use_frameworks! :linkage => :static
 | |
|   use_modular_headers!
 | |
|   pod 'FusionAds', :path => '../'
 | |
|   
 | |
|   target 'FusionAds_Tests' do
 | |
|     inherit! :search_paths
 | |
| 
 | |
|     pod 'Quick', '~> 7.6.2'
 | |
|     pod 'Nimble', '~> 13.7.1'
 | |
| #    pod 'FBSnapshotTestCase' , '~> 2.1.4'
 | |
| #    pod 'Nimble-Snapshots' , '~> 9.4.0'
 | |
|   end
 | |
| end
 | |
| 
 | |
| post_install do |installer|
 | |
|   installer.pods_project.targets.each do |target|
 | |
|     target.build_configurations.each do |config|
 | |
|       config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
 | |
|       config.build_settings['ENABLE_BITCODE'] = 'NO'
 | |
|       config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
 | |
|         '$(inherited)',
 | |
|         'AUDIO_SESSION_MICROPHONE=0',
 | |
|         ## dart: PermissionGroup.photos
 | |
|         'PERMISSION_PHOTOS=1',
 | |
|         ## dart: PermissionGroup.notification
 | |
|         'PERMISSION_NOTIFICATIONS=1'
 | |
|       ]
 | |
|       config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO' if config.type == :debug
 | |
| 
 | |
|       config.build_settings['CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER'] = 'NO'
 | |
| 
 | |
|       # Override legacy Xcode 11 style VALID_ARCHS[sdk=iphonesimulator*]=x86_64 and prefer Xcode 12 EXCLUDED_ARCHS.
 | |
|       config.build_settings['VALID_ARCHS[sdk=iphonesimulator*]'] = '$(ARCHS_STANDARD)'
 | |
|       config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = '$(inherited) i386'
 | |
|       config.build_settings['EXCLUDED_ARCHS[sdk=iphoneos*]'] = '$(inherited) armv7'
 | |
|     end
 | |
|   end
 | |
| end
 |