Podfile 1.3 KB

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