Comments (12)
I had a similar warning. Are you using Cordova iOS 4.3.0 and a plugin with a Pod dependency (e.g. [email protected]
)?
I think the new native CocoaPods feature in Cordova conflicts with cordova-plugin-cocoapods-support
, that this plugin uses.
from cordova-plugin-firebase-analytics.
@FdezRomero Yeah, exactly, I am. Have you managed to get it working by downgrading the cordova version and the push plugin?
from cordova-plugin-firebase-analytics.
However, i don't have cordova-plugin-cocoapod-support installed. Should I have?
from cordova-plugin-firebase-analytics.
@danielcrk-cn This plugin installs cordova-plugin-firebase-hooks
, which installs cordova-plugin-cocoapod-support
for you. You have to manually install CocoaPods if you haven't though (at least in my case).
To fix the problem I manually added the pods needed by phonegap-plugin-push
and this one in platforms/ios/Podfile
and installed again with pod install
. I think I removed and re-added the iOS platform first.
from cordova-plugin-firebase-analytics.
@FdezRomero Hmm, so basically, you run "cordova build ios" and get the error, manually copy the pod files and then run pod install?
from cordova-plugin-firebase-analytics.
@danielcrk-cn No, there is a file actually called Podfile
at platform/ios/Podfile
that lists the pods that have to be installed. Check that you have all the pods that you need listed there. For example, this is my Podfile
(you may have more pods if you have more plugins installed):
platform :ios, '7.0'
target 'NAME_OF_MY_APP' do
pod 'GoogleCloudMessaging', '~> 1.2.0'
pod 'GGLInstanceID', '~> 1.2.1'
pod 'Firebase/Analytics'
end
Then running pod install
will read the pods from your Podfile
and install them if they are not yet. Then try to build again, and if if doesn't work, do cordova platform rm ios
to remove the platform and cordova platform add ios
to add it again. That's what I did and eventually everything worked.
P.S. My understanding is that these problems would be solved with version 1.0.0 as it will use the native pods feature and ditch cordova-plugin-cocoapods-support
.
from cordova-plugin-firebase-analytics.
My understanding is that these problems would be solved with version 1.0.0 as it will use the native pods feature and ditch cordova-plugin-cocoapods-support
Correct, that's the plan. On the other case it would be nice to have a kind of polyfill that adds pods support for older versions of cordova. Could not find such polyfill yet.
from cordova-plugin-firebase-analytics.
I really hate to be that guy, but is there any estimate on how long until version 1.0? Just so that I can manage some client expectations :)
from cordova-plugin-firebase-analytics.
@danielcrk-cn sorry I have no idea. If you just need 4.3.0 support - feel free to create a fork. Then replace <pod>
tags with <framework>
. Should be pretty easy to do.
from cordova-plugin-firebase-analytics.
i got this error, i've changed that file but now i have this error:
** BUILD FAILED **
The following build commands failed:
CompileC /Users/corona/Library/Developer/Xcode/DerivedData/DelSuper-ffswkjukwyjsglgmfzwyhrspednr/Build/Intermediates/DelSuper.build/Debug-iphonesimulator/DelSuper.build/Objects-normal/x86_64/PushPlugin.o DelSuper/Plugins/phonegap-plugin-push/PushPlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/corona/delsuper_app_front_ionic_dev/platforms/ios/cordova/build-debug.xcconfig,-workspace,DelSuper.xcworkspace,-scheme,DelSuper,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone 5s,build,CONFIGURATION_BUILD_DIR=/Users/corona/delsuper_app_front_ionic_dev/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/corona/delsuper_app_front_ionic_dev/platforms/ios/build/sharedpch
from cordova-plugin-firebase-analytics.
Try 0.10.1
from cordova-plugin-firebase-analytics.
I had this same issue and this thread helped resolve the Error code 65 - the issue seems to be the platforms/ios/Pod File
not having the firebase pod installed. I followed the suggestion from @FdezRomero - from my bash shell had to cd/platforms/ios/
-> pod install
and the problem was resolved. Note that the firebase entry was in the Pod File
after installing cordova-plugin-firebase-analytics
. The issue was it had not been installed.
from cordova-plugin-firebase-analytics.
Related Issues (20)
- [Action Required] Update your Firebase Performance Monitoring SDKs before January 10, 2022 HOT 1
- Duplicate resources google_app_id google_app_key HOT 1
- Problem in FirebaseAnalytic HOT 3
- Building IOS Capacitor 3 - CordovaPlugins Error - Undefined symbol: _OBJC_CLASS_$_FIRAnalytics HOT 11
- Disable automatic collection of events HOT 3
- Need support for e-commerce items (i.e. products) for Firebase Analytics HOT 2
- Plugin doesn't support this project's cordova version HOT 4
- CocoaPods could not find compatible versions for pod "GoogleUtilities/AppDelegateSwizzler"
- Conflict with FCM
- Unable to build project for iOS and Android after adding Firebase Analytics Plugin
- Localstorage not working
- Release notes?
- Library expects a BoM package: com.google.firebase:firebase-analytics HOT 4
- Broken on Capacitor HOT 1
- Android - Data do not send to firebase analytics HOT 6
- Failed to install firebase-analytics in iOS HOT 4
- cordova-plugin-firebase-analytics version 7.0.5 is not working for android platform HOT 2
- EXCEPTION: TypeError: Cannot read properties of undefined (reading 'split') HOT 1
- restrict the events based on bundle id
- Logged Event not reflected in firebase events console. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-firebase-analytics.