-
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Firestore fails an iOS app, while on the the web it works good #523
Comments
Thanks for reporting the issue. Please also share your Xcode debug console output after the error occurred. |
Thank you for replying. Here is all the logs I have in Xcode |
@robingenz I would be grateful for advice on how to workaround this issue if you know the cause of it until you get it fixed on your side |
It seems like you did not set up Firebase correctly. The |
@robingenz It seems I did not add it to git, or something went wrong with xCode. I added it to my test repo now, the issue is still here |
You should not add Firebase packages to XCode manually (e.g.
|
@robingenz Sorry for the dumb question, this is my first capacitor project. Could you please explain what Firebase packages I should remove and from where? |
These are the necessary changes: robingenz/capawesome-team-capacitor-firebase-issue-523@0cc5d28 |
@robingenz Thanks so much! It works! I added these "wrong" libraries after reading some of the tutorials. For those who maybe has the same issue, I removed all Firebase-specific packages from Xcode in App-General-Frameworks section. |
Plugin(s)
Version
5.3.0
Platform(s)
Current behavior
Sometimes it fails to run and I see another issue. But in my main app, It fails as it is on the screenshot
#0 0x0000000106882610 in std::__1::shared_ptrfirebase::firestore::util::Executor::shared_ptr[abi:v160006](std::__1::shared_ptrfirebase::firestore::util::Executor const&) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk/usr/include/c++/v1/__memory/shared_ptr.h:634
Expected behavior
It works the same way as on the Web
Reproduction
https://github.com/okletstryit/failing-ios
Steps to reproduce
git clone https://github.com/okletstryit/failing-ios
cd failing-ios
npm install
npm run buid
npm run sync-ios
npm run start-xcode
press Play in xcode
Other information
No response
Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 5.6.0
@capacitor/core: 5.6.0
@capacitor/android: 5.6.0
@capacitor/ios: 5.6.0
Installed Dependencies:
@capacitor/android: not installed
@capacitor/cli: 5.6.0
@capacitor/core: 5.6.0
@capacitor/ios: 5.6.0
[success] iOS looking great! 👌
Before submitting
The text was updated successfully, but these errors were encountered: