mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-10 22:45:59 +05:45
* 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.
45 lines
937 B
Ruby
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
|