Files
firebase-ios-sdk/GoogleUtilities/Example/Podfile
T
Tejas Deshpande 96438c722b Open source the Swizzler (#1564)
* Import the Swizzler sources into github

* Add subspecs to GoogleUtilities podspec

* Add post install step to test Podfile to add the preprocessor flags required for testing.

* Add the swizzler tests (except the flaky GULAppDelegateSwizzlerTest) to the Xcode project

* Add the AppDelegateSwizzler internal headers to the ios test header search path

* Add license header to GULLoggerCodes.h

* Fix/Suppress warnings in the framework.

* Disable certain classes for tvOS and macOS as well fix some additional pod lib lint warnings.

* Modify imports as well as add the required preprocessor flags to the test targets.

* Run pod deintegrate.
2018-07-20 15:48:03 -07:00

45 lines
937 B
Ruby

use_frameworks!
target 'Example_iOS' do
platform :ios, '8.0'
pod 'GoogleUtilities', :path => '../../'
target 'Tests_iOS' do
inherit! :search_paths
pod 'OCMock'
end
post_install do |installer_representation|
installer_representation.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.name != 'Release'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'GUL_UNSWIZZLING_ENABLED=1', 'GUL_APP_DELEGATE_TESTING=1']
end
end
end
end
end
target 'Example_macOS' do
platform :osx, '10.10'
pod 'GoogleUtilities', :path => '../../'
target 'Tests_macOS' do
inherit! :search_paths
pod 'OCMock'
end
end
target 'Example_tvOS' do
platform :tvos, '10.0'
pod 'GoogleUtilities', :path => '../../'
target 'Tests_tvOS' do
inherit! :search_paths
pod 'OCMock'
end
end