Skip to content

Instantly share code, notes, and snippets.

@schmidt-sebastian
Created November 15, 2021 23:23
Show Gist options
  • Save schmidt-sebastian/8b726a52540c972a2e083d460a51f954 to your computer and use it in GitHub Desktop.
Save schmidt-sebastian/8b726a52540c972a2e083d460a51f954 to your computer and use it in GitHub Desktop.
diff --git a/FirebaseFunctionsSwift.podspec b/FirebaseFunctionsSwift.podspec
new file mode 100644
index 000000000..8749bd461
--- /dev/null
+++ b/FirebaseFunctionsSwift.podspec
@@ -0,0 +1,35 @@
+Pod::Spec.new do |s|
+ s.name = 'FirebaseFunctionsSwift'
+ s.version = '8.9.0-beta'
+ s.summary = 'Swift Extensions for Cloud Functions for Firebase'
+
+ s.description = <<-DESC
+Swift Extensions for Cloud Functions 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 => 'CocoaPods-' + s.version.to_s
+ }
+
+ s.swift_version = '5.3'
+ s.ios.deployment_target = '11.0'
+ s.osx.deployment_target = '10.12'
+ s.tvos.deployment_target = '11.0'
+ s.watchos.deployment_target = '6.0'
+
+ s.cocoapods_version = '>= 1.4.0'
+ s.prefix_header_file = false
+
+ s.requires_arc = true
+ s.source_files = [
+ 'FirebaseFunctionsSwift/Sources/**/*.swift',
+ ]
+
+ s.dependency 'FirebaseFunctions', '~> 8.9.0'
+ s.dependency 'FirebaseEncoderSwift', '~> 0.0'
+end
diff --git a/FirebaseFunctionsSwift/Sources/Codable/Callable+Codable.swift b/FirebaseFunctionsSwift/Sources/Codable/Callable+Codable.swift
index cff7cde4b..9eda98b9c 100644
--- a/FirebaseFunctionsSwift/Sources/Codable/Callable+Codable.swift
+++ b/FirebaseFunctionsSwift/Sources/Codable/Callable+Codable.swift
@@ -16,7 +16,7 @@
import Foundation
import FirebaseFunctions
-import FirebaseSharedSwift
+import FirebaseEncoderSwift
extension HTTPSCallable {
enum CallableError: Error {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment