Ensure Countly does not use the IDFA.
This commit is contained in:
		@@ -28,3 +28,14 @@ target 'MasterPassword-macOS' do
 | 
				
			|||||||
  pod 'KCOrderedAccessorFix'
 | 
					  pod 'KCOrderedAccessorFix'
 | 
				
			||||||
  pod 'JRSwizzle'
 | 
					  pod 'JRSwizzle'
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					post_install do |installer|
 | 
				
			||||||
 | 
					  installer.pods_project.targets.each do |target|
 | 
				
			||||||
 | 
					    if target.name == 'Countly-iOS' || target.name == 'Countly-macOS'
 | 
				
			||||||
 | 
					      target.build_configurations.each do |config|
 | 
				
			||||||
 | 
					        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
 | 
				
			||||||
 | 
					        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'COUNTLY_EXCLUDE_IDFA=1'
 | 
				
			||||||
 | 
					      end
 | 
				
			||||||
 | 
					    end
 | 
				
			||||||
 | 
					  end
 | 
				
			||||||
 | 
					end
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user