Podfile 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. source 'https://github.com/CocoaPods/Specs.git'
  2. install! 'cocoapods', :deterministic_uuids => false
  3. inhibit_all_warnings!
  4. def shared_pods
  5. pod 'XKKeychain', '~>1.0'
  6. pod 'box-ios-sdk-v2', :git => 'git://github.com/fkuehne/box-ios-sdk-v2.git' #has a logout function added
  7. pod 'upnpx', '~>1.4.2'
  8. pod 'CocoaHTTPServer', :git => 'git://github.com/fkuehne/CocoaHTTPServer.git' # has our fixes
  9. pod 'VLC-WhiteRaccoon'
  10. pod 'ObjectiveDropboxOfficial', :git => 'git://github.com/Mikanbu/dropbox-sdk-obj-c.git' #update ios platform version
  11. pod 'AppCenter', '2.3.0'
  12. # debug
  13. pod 'SwiftLint', '~> 0.25.0', :configurations => ['Debug']
  14. end
  15. target 'VLC-iOS' do
  16. platform :ios, '9.0'
  17. shared_pods
  18. pod 'OBSlider', '1.1.0'
  19. pod 'InAppSettingsKit', :git => 'git://github.com/Mikanbu/InAppSettingsKit.git', :commit => 'f3ede15' #tvOS fix
  20. pod 'PAPasscode', '~>1.0'
  21. pod 'GoogleAPIClientForREST/Drive'
  22. pod 'MobileVLCKit', '3.3.9'
  23. pod 'VLCMediaLibraryKit', '0.6.3'
  24. pod 'MediaLibraryKit-prod'
  25. pod 'GTMAppAuth', '0.7.1'
  26. pod 'OneDriveSDK'
  27. target 'VLC-iOS-Screenshots' do
  28. inherit! :search_paths
  29. pod 'SimulatorStatusMagic'
  30. end
  31. target 'VLC-iOSTests' do
  32. inherit! :search_paths
  33. end
  34. end
  35. target 'VLC-tvOS' do
  36. platform :tvos, '11.0'
  37. shared_pods
  38. pod 'MetaDataFetcherKit', '~>0.3.1'
  39. pod "OROpenSubtitleDownloader", :git => 'https://github.com/orta/OROpenSubtitleDownloader.git', :commit => '0509eac2'
  40. pod 'GRKArrayDiff', '~> 2.1'
  41. pod 'TVVLCKit', '3.3.9'
  42. end
  43. post_install do |installer_representation|
  44. installer_representation.pods_project.targets.each do |target|
  45. installer_representation.pods_project.build_configurations.each do |config|
  46. config.build_settings['SKIP_INSTALL'] = 'YES'
  47. config.build_settings['VALID_ARCHS'] = 'armv7 armv7s arm64 i386 x86_64'
  48. config.build_settings['ARCHS'] = 'armv7 armv7s arm64 i386 x86_64'
  49. config.build_settings['CLANG_CXX_LIBRARY'] = 'libc++'
  50. end
  51. target.build_configurations.each do |config|
  52. xcconfig_path = config.base_configuration_reference.real_path
  53. xcconfig = File.read(xcconfig_path)
  54. new_xcconfig = xcconfig.sub('-l"sqlite3"', '')
  55. File.open(xcconfig_path, "w") { |file| file << new_xcconfig }
  56. end
  57. end
  58. end