orta / ARAnalytics

Simplify your iOS/Mac analytics
MIT License
1.84k stars 217 forks source link

Problems using ARAnalytics for Firebase in a swift 3 project using cocoapods #297

Open ankitaporwal opened 7 years ago

ankitaporwal commented 7 years ago

After installing pods i am getting following compilation error

In file included from ~/TestProject/Pods/ARAnalytics/Providers/FirebaseProvider.m:3: ~/TestProject/Pods/Headers/Private/Firebase/Firebase.h:1:9: fatal error: 'FirebaseAnalytics/FirebaseAnalytics.h' file not found

import <FirebaseAnalytics/FirebaseAnalytics.h>

My podfile looks like this -

# platform :ios, '9.0'
target 'TestProject' do 
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
pod 'ARAnalytics/Firebase'
end
colasbd commented 7 years ago

I have the same issue in a project using Objective-C:

'FirebaseAnalytics/FirebaseAnalytics.h' file not found

The issue seems related more to Firebase than ARAnalytics though.

timbroder commented 7 years ago

I was able to get Firebase to work by installing the provider manually