Podfile 2.44 KB
Newer Older
1
source 'https://github.com/CocoaPods/Specs.git'
2
install! 'cocoapods', :deterministic_uuids => false
Tobias's avatar
Tobias committed
3 4
inhibit_all_warnings!

5 6 7 8 9 10 11 12 13
def shared_pods
  pod 'XKKeychain', '~>1.0'
  pod 'box-ios-sdk-v2', :git => 'git://github.com/fkuehne/box-ios-sdk-v2.git' #has a logout function added
  pod 'upnpx', '~>1.4.0'
  pod 'CocoaHTTPServer', :git => 'git://github.com/fkuehne/CocoaHTTPServer.git' # has our fixes
  pod 'VLC-WhiteRaccoon'
  pod 'VLC-LiveSDK', '5.7.0x'
  pod 'ObjectiveDropboxOfficial', :git => 'git://github.com/carolanitz/dropbox-sdk-obj-c.git' #update ios platform version
end
14

15 16 17 18 19 20 21 22 23
def iOS_pods
  pod 'OBSlider', '1.1.0'
  pod 'InAppSettingsKit', :git => 'git://github.com/fkuehne/InAppSettingsKit.git', :commit => '415ea6bb' #tvOS fix
  pod 'HockeySDK', '~>5.1.2', :subspecs => ['CrashOnlyLib']
  pod 'RESideMenu', '~>4.0.7'
  pod 'PAPasscode', '~>1.0'
  pod 'GoogleAPIClient/Drive'
  pod 'VLC-LXReorderableCollectionViewFlowLayout', '0.1.3v'
  pod 'MediaLibraryKit-prod'
Carola Nitz's avatar
Carola Nitz committed
24
  pod 'MobileVLCKit', '3.1.0'
25
  pod 'GTMAppAuth'
26 27
end

28 29 30 31 32
target 'VLC-iOS' do
  platform :ios, '9.0'
  shared_pods
  iOS_pods
end
33

34 35 36 37
target 'VLC-iOS-no-watch' do
  platform :ios, '9.0'
  shared_pods
  iOS_pods
38 39
end

40
target 'VLC-tvOS' do
41 42 43 44 45 46
  platform :tvos, '10.2'
  shared_pods
  pod 'MetaDataFetcherKit', '~>0.3.1'
  pod "OROpenSubtitleDownloader", :git => 'https://github.com/orta/OROpenSubtitleDownloader.git', :commit => '0509eac2'
  pod 'GRKArrayDiff', '~> 2.1'
  pod 'HockeySDK-tvOS', '~>5.0.0'
Carola Nitz's avatar
Carola Nitz committed
47
  pod 'TVVLCKit', '3.1.0'
Felix Paul Kühne's avatar
Felix Paul Kühne committed
48
end
49

Felix Paul Kühne's avatar
Felix Paul Kühne committed
50
target 'VLC-watchOS-Extension' do
51 52
  platform :watchos, '2.0'
  pod 'MediaLibraryKit-unstable'
Felix Paul Kühne's avatar
Felix Paul Kühne committed
53
end
54

Felix Paul Kühne's avatar
Felix Paul Kühne committed
55
post_install do |installer_representation|
56 57
  installer_representation.pods_project.targets.each do |target|
    if target.name == 'VLC-watchOS-Extension'
58 59 60 61 62 63 64 65 66 67 68 69 70
      installer_representation.pods_project.build_configurations.each do |config|
        config.build_settings['SKIP_INSTALL'] = 'YES'
        config.build_settings['CLANG_CXX_LIBRARY'] = 'libc++'
        config.build_settings['VALID_ARCHS'] = 'armv7 armv7s arm64 i386 armv7k'
        config.build_settings['ARCHS'] = 'armv7 armv7s arm64 i386 armv7k'
      end
    else
      installer_representation.pods_project.build_configurations.each do |config|
        config.build_settings['SKIP_INSTALL'] = 'YES'
        config.build_settings['VALID_ARCHS'] = 'armv7 armv7s arm64 i386 armv7k'
        config.build_settings['ARCHS'] = 'armv7 armv7s arm64 i386 armv7k'
        config.build_settings['CLANG_CXX_LIBRARY'] = 'libc++'
      end
71
    end
Felix Paul Kühne's avatar
Felix Paul Kühne committed
72 73
  end
end