Podfile 918 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. use_frameworks!
  2. target 'Example_iOS' do
  3. platform :ios, '8.0'
  4. pod 'GoogleUtilities', :path => '../../'
  5. target 'Tests_iOS' do
  6. inherit! :search_paths
  7. pod 'OCMock'
  8. end
  9. end
  10. target 'Example_macOS' do
  11. platform :osx, '10.11'
  12. pod 'GoogleUtilities', :path => '../../'
  13. target 'Tests_macOS' do
  14. inherit! :search_paths
  15. pod 'OCMock'
  16. end
  17. end
  18. target 'Example_tvOS' do
  19. platform :tvos, '10.0'
  20. pod 'GoogleUtilities', :path => '../../'
  21. target 'Tests_tvOS' do
  22. inherit! :search_paths
  23. pod 'OCMock'
  24. end
  25. end
  26. post_install do |installer_representation|
  27. installer_representation.pods_project.targets.each do |target|
  28. target.build_configurations.each do |config|
  29. if config.name != 'Release'
  30. config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'GUL_UNSWIZZLING_ENABLED=1', 'GUL_APP_DELEGATE_TESTING=1']
  31. end
  32. end
  33. end
  34. end