Podfile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. use_frameworks!
  2. def all_example_pods
  3. pod 'SDWebImage/MapKit', :path => './'
  4. pod 'SDWebImageWebPCoder', :git => 'https://github.com/SDWebImage/SDWebImageWebPCoder.git', :branch => 'master'
  5. end
  6. def watch_example_pods
  7. pod 'SDWebImage/Core', :path => './'
  8. pod 'SDWebImageWebPCoder', :git => 'https://github.com/SDWebImage/SDWebImageWebPCoder.git', :branch => 'master'
  9. end
  10. def all_test_pods
  11. pod 'SDWebImage/MapKit', :path => './'
  12. pod 'Expecta'
  13. pod 'KVOController'
  14. end
  15. example_project_path = 'Examples/SDWebImage Demo'
  16. test_project_path = 'Tests/SDWebImage Tests'
  17. workspace 'SDWebImage.xcworkspace'
  18. # Example Project
  19. target 'SDWebImage iOS Demo' do
  20. project example_project_path
  21. platform :ios, '8.0'
  22. all_example_pods
  23. end
  24. target 'SDWebImage OSX Demo' do
  25. project example_project_path
  26. platform :osx, '10.10'
  27. all_example_pods
  28. end
  29. target 'SDWebImage TV Demo' do
  30. project example_project_path
  31. platform :tvos, '9.2'
  32. all_example_pods
  33. end
  34. target 'SDWebImage Watch Demo Extension' do
  35. project example_project_path
  36. platform :watchos, '2.0'
  37. watch_example_pods
  38. end
  39. # Test Project
  40. target 'Tests iOS' do
  41. project test_project_path
  42. platform :ios, '8.0'
  43. all_test_pods
  44. end
  45. target 'Tests Mac' do
  46. project test_project_path
  47. platform :osx, '10.10'
  48. all_test_pods
  49. end
  50. target 'Tests TV' do
  51. project test_project_path
  52. platform :tvos, '9.2'
  53. all_test_pods
  54. end