Skip to content

Instantly share code, notes, and snippets.

@3on
Created November 10, 2016 23:17
Show Gist options
  • Save 3on/7dbd786437b68e59e79c61516f735019 to your computer and use it in GitHub Desktop.
Save 3on/7dbd786437b68e59e79c61516f735019 to your computer and use it in GitHub Desktop.
diff --git a/Podfile b/Podfile
index c41dae5..9b4235b 100644
--- a/Podfile
+++ b/Podfile
@@ -25,14 +25,6 @@ pod 'MediaLibraryKit-unstable'
pod 'MobileVLCKit-unstable', '3.0.0a10'
end
-post_install do |installer_representation|
- installer_representation.pods_project.build_configurations.each do |config|
- config.build_settings['SKIP_INSTALL'] = 'YES'
- config.build_settings['VALID_ARCHS'] = 'armv7 armv7s arm64'
- config.build_settings['ARCHS'] = 'armv7 armv7s arm64'
- config.build_settings['CLANG_CXX_LIBRARY'] = 'libc++'
- end
-end
target 'VLC-iOS-no-watch' do
platform :ios, '7.0'
@@ -55,14 +47,6 @@ pod 'MediaLibraryKit-unstable'
pod 'MobileVLCKit-unstable', '3.0.0a10'
end
-post_install do |installer_representation|
- installer_representation.pods_project.build_configurations.each do |config|
- config.build_settings['SKIP_INSTALL'] = 'YES'
- config.build_settings['VALID_ARCHS'] = 'armv7 armv7s arm64'
- config.build_settings['ARCHS'] = 'armv7 armv7s arm64'
- config.build_settings['CLANG_CXX_LIBRARY'] = 'libc++'
- end
-end
target 'VLC-iOS-no-watch-Debug' do
platform :ios, '7.0'
@@ -83,14 +67,6 @@ pod 'VLC-LiveSDK', '5.7.0x'
pod 'VLC-Dropbox-v1-SDK', '1.3.14w'
end
-post_install do |installer_representation|
- installer_representation.pods_project.build_configurations.each do |config|
- config.build_settings['SKIP_INSTALL'] = 'YES'
- config.build_settings['VALID_ARCHS'] = 'armv7 armv7s arm64'
- config.build_settings['ARCHS'] = 'armv7 armv7s arm64'
- config.build_settings['CLANG_CXX_LIBRARY'] = 'libc++'
- end
-end
target 'VLC-tvOS' do
platform :tvos, '9.0'
@@ -135,5 +111,9 @@ post_install do |installer_representation|
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['SKIP_INSTALL'] = 'YES'
+ config.build_settings['VALID_ARCHS'] = 'armv7 armv7s arm64'
+ config.build_settings['ARCHS'] = 'armv7 armv7s arm64'
+ config.build_settings['CLANG_CXX_LIBRARY'] = 'libc++'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment