From 123ce4cdea12140a5e6aa75de5627fc1dfc7e787 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Wed, 29 Nov 2017 07:20:23 -0800 Subject: Instructions for static library interop with Analytics (#503) --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README.md') 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 -- cgit v1.2.3