aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--patch/FirebaseAnalytics.h9
2 files changed, 16 insertions, 1 deletions
diff --git a/README.md b/README.md
index ac59610..4e5a9d5 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,8 @@ It is now possible to override the default pod locations with source pod
locations described via the Podfile syntax documented
[here](https://guides.cocoapods.org/syntax/podfile.html#pod).
+**CocoaPods 1.4.0** or later is required.
+
For example, to access FirebaseMessaging via a checked out version of the
firebase-ios-sdk repo do:
@@ -45,7 +47,11 @@ To access via a tag (Release tags will be available starting with Firebase 4.7.0
pod 'FirebaseAuth', :git => 'https://github.com/firebase/firebase-ios-sdk.git', :tag => '4.7.0'
```
-Note that CocoaPods 1.4.0 or later is required.
+If your Podfile does not include *use_frameworks!*, you need to workaround
+a build issue with the FirebaseAnalytics umbrella header. Delete the first four lines
+of Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h
+or copy [patch/FirebaseAnalytics.h](patch/FirebaseAnalytics.h) to
+Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h
## Usage
diff --git a/patch/FirebaseAnalytics.h b/patch/FirebaseAnalytics.h
new file mode 100644
index 0000000..72c55c6
--- /dev/null
+++ b/patch/FirebaseAnalytics.h
@@ -0,0 +1,9 @@
+// Firebase Analytics umbrella header for interoperating with open source builds
+// More details at https://github.com/firebase/firebase-ios-sdk#source-pod-integration
+
+#import "FIRAnalytics+AppDelegate.h"
+#import "FIRAnalytics.h"
+#import "FIRAnalyticsSwiftNameSupport.h"
+#import "FIREventNames.h"
+#import "FIRParameterNames.h"
+#import "FIRUserPropertyNames.h"