First time using google firebase analytics in iOS SDK.
Now I have downloaded Google Firebase SDK manually...not used Cocoa pods.
Along with analytics it has lots of folders..added all. Am I need to add only analytics related files ?
Received linker error : framework not found Protobuf
From the Firebase zip instructions:
5. Drag each framework from the directory named after the SDK into the Project
Navigator pane.
From the screenshot, it looks like you're using Firestore, but didn't copy the dependent Protobuf.framework in the Firestore folder:
$ ls ~/Downloads/Firebase/Firestore/
BoringSSL-GRPC.framework Protobuf.framework gRPC-C++.framework leveldb-library.framework
FirebaseFirestore.framework Resources gRPC-Core.framework
Related
I need to integrate Firebase performance monitoring for my app. I can't use cocoa pods in this project. I must need to download a framework because it has its own cocoapod Firebase/performance .
The documentation only includes the pod file to add. Not a manual option.
https://firebase.google.com/docs/perf-mon/get-started-ios
Please help where can I find/ how can I add the Firebase/performance library/dependency to my project.
I already have Firebase , I need Firebase/performance
The Firebase documentation gives instructions for this in the documentation:
If you don't want to use Cocoapods, you can still take advantage of
the Firebase SDKs by importing the frameworks directly.
Download the framework SDK zip. This is a ~1GB file and might take some time to download.
Unzip the file, then review the README for the Frameworks that you want to include in your app.
Add the ObjC linker flag in your Other Linker Settings in your target's build settings.
Follow the link to the documentation to find the actual link to download the frameworks zip.
I'm trying to integrate my project from Google Analytics to Firebase Analytics. I was using Google Analytics SDK installed with Cococapods. After I do below steps;
Remove 'GoogleAnalytics' from Pod file
Run 'pod install'
Remove bridging header file from the project
Remove bridging header from build settings
I got build error with like average 300 error. Like
Value of type 'CATransition' has no member 'fadeTransition'
I can successfully build when not uninstall Google Analytics SDK so there is no problem with my code. What can cause this problem?
EDIT: I found that deleting bridging header causes the problem, not the Google Analytics SDK.
I found that most of my classes doesn't have import UIKit and somehow, when project has objective-c header, It doesn't need it. However, after I delete it, all of these classes need it. Therefore, implementing
import UIKit
fixed my problem.
I am developing an app that google-drive-sdk has been successfully integrated onto, but now I want to share my app on google-plus so I used Google+ SDK, and it conflicts with GoogleDrive SDK.
I used GTLDriveFile Class for GoogleDrive,
and I followed these steps for installing GoogleDrive.
It works fine with just GoogleDrive SDK. But if I add Google+ SDK then it'll conflict with GoogleDrive SDK. I've tried lots of time and searched on Google but I can't find anything.
I only found these links:
1: (SO) How to implement Google Drive and Google Plus sdk in ios project
2: (YouTube) Google Drive SDK: using the Google+ Sign-In button with Drive on iOS
Update:
It displays duplicate symbols for architecture i386
If I delete one file then it will display the same error in another file because in following folder
GTL->GTL Source->Common->Objects
which has all the files, which are already available in
GoogleOpenSource.framework
And if I deleted all the .h files from the GTL folder then it won't work either, it gives a 'file not found' error.
Can anyone help me?
Update
If I had not added GoogleOpenSource.framework but I added only GooglePlus.framework then it gives me error like....
Thanks in advance!
You should be able to drop the GoogleOpenSource.framework - that just includes the Plus relevant parts of GTL and GTM which you're likely to be bringing in as part of the Drive client library. If you need any files from it, you can find the source version of whats included within the original SDK zip you downloaded.
To be clear:
Delete GoogleOpenSource.framework from your projectList item
If there are any errors on missing files, bring those in individually from the open source folder in the Google+ SDK zip. Include both the .m and .h files
It's much more simpler than #Ian's answer. No offence #Ian. :)
SVN checkout from http://google-api-objectivec-client.googlecode.com/svn/trunk
After checkout completes, Go to Source folder and open GTL.xcodeproj.
See the image
I'm trying to add the AWS SDK to my xcode project that is written in swift.
I followed these steps: http://mobile.awsblog.com/post/Tx2AA7ZHB1FK0G1/Version-2-of-the-AWS-SDK-for-iOS-Developer-Preview to create a Bridge-Header file, and add the SDK itself to my project.
The problem is that when I try to build the app I get an error now... the Bridge Header cannot be imported because one of the files in the AWS SDK (AWSModel.h) has an error. This file tries to import Mantle/Mantle.h, and the error reads "Mantle/Mantle.h file not found"
do I need to add this file to my project as well? If so, how would I go about doing that? The only frameworks I'm using are Facebook SDK, and I would like to add AWS as well.
There is a working sample app on GitHub. You should follow README and see if you can compile the app. It should help you understand how to set up the project.
I have downlaoded the demo project from androidhive.com Trying to integrate Google plus auth in my app. But cannot import googleapiclient . I have attached a screenshot here.
I have imported google-play-library-service from android sdk -extras and selected copy the project into workspace while importing. After that i have added that library project to my google plus integration project. But all time i am gettng the error shown in the screenshot.