Files
firebase-ios-sdk/FirebaseAppDistribution.podspec
T
Jeremy Durham 7757c73670 App Distribution: Implement code hash generation and verification (#5432)
Add initial code hash generation implementation

Generate a code hash by getting the architecture and uuids for the app, sorting the list lexicographically by architecture, concatenating the uuids and generate a hash using SHA1 (for legacy purposes). We then use the code hash to verify against a hash returned from the server to determine whether the current running version is the latest version.
2020-04-23 13:09:50 -04:00

45 lines
1.4 KiB
Ruby

Pod::Spec.new do |s|
s.name = 'FirebaseAppDistribution'
s.version = '0.0.1'
s.summary = 'App Distribution for Firebase iOS SDK.'
s.description = <<-DESC
iOS SDK for App Distribution for Firebase.
DESC
s.homepage = 'https://developers.google.com/'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.authors = 'Google, Inc.'
s.source = {
:git => 'https://github.com/firebase/firebase-ios-sdk.git',
:tag => 'AppDistribution-' + s.version.to_s
}
s.ios.deployment_target = '8.0'
s.cocoapods_version = '>= 1.4.0'
s.static_framework = true
s.prefix_header_file = false
base_dir = "FirebaseAppDistribution/Sources/"
s.source_files = base_dir + '**/*.{c,h,m,mm}'
s.public_header_files = base_dir + 'Public/*.h'
s.private_header_files = base_dir + 'Private/*.h'
s.dependency 'FirebaseCore', '~> 6.6'
s.dependency 'AppAuth', '~> 1.2.0'
s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 6.5'
s.pod_target_xcconfig = {
'GCC_C_LANGUAGE_STANDARD' => 'c99',
'GCC_PREPROCESSOR_DEFINITIONS' => 'FIRAppDistribution_VERSION=' + s.version.to_s
}
s.test_spec 'unit' do |unit_tests|
unit_tests.source_files = 'FirebaseAppDistribution/Tests/Unit*/*.[mh]'
unit_tests.resources = 'FirebaseAppDistribution/Tests/Unit/Resources/*'
end
# end
end