aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Firestore.podspec
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/Firestore.podspec')
-rw-r--r--Firestore/Firestore.podspec44
1 files changed, 44 insertions, 0 deletions
diff --git a/Firestore/Firestore.podspec b/Firestore/Firestore.podspec
new file mode 100644
index 0000000..efd3f64
--- /dev/null
+++ b/Firestore/Firestore.podspec
@@ -0,0 +1,44 @@
+#
+# Be sure to run `pod lib lint Firestore.podspec' to ensure this is a
+# valid spec before submitting.
+#
+# Any lines starting with a # are optional, but their use is encouraged
+# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
+#
+
+Pod::Spec.new do |s|
+ s.name = 'Firestore'
+ s.version = '0.1.0'
+ s.summary = 'Google Cloud Firestore for iOS'
+
+ s.description = <<-DESC
+Google Cloud Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.
+ DESC
+
+ s.homepage = 'https://developers.google.com/'
+ s.license = { :type => 'Apache', :file => '../LICENSE' }
+ s.authors = 'Google, Inc.'
+
+ s.source = { :git => 'https://github.com/TBD/Firestore.git', :tag => s.version.to_s }
+ # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
+
+ s.ios.deployment_target = '8.0'
+
+ s.source_files = 'Source/**/*', 'Port/**/*', 'Protos/objc/**/*.[hm]', 'third_party/**/*.[mh]'
+ s.requires_arc = 'Source/**/*', 'third_party/**/*.[mh]'
+ s.exclude_files = 'Port/*test.cc', 'third_party/**/Tests/**'
+ s.public_header_files = 'Source/Public/*.h'
+ s.frameworks = 'MobileCoreServices'
+ s.dependency 'gRPC-ProtoRPC'
+ s.dependency 'leveldb-library'
+ s.dependency 'Protobuf'
+ s.dependency 'FirebaseCommunity/Core'
+ s.dependency 'FirebaseCommunity/Auth'
+ s.library = 'c++'
+
+ s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' =>
+ '$(inherited) ' +
+ 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ',
+ 'OTHER_CFLAGS' => '-DFIRFirestore_VERSION=' + s.version.to_s
+ }
+end