mk-5 / gdx-fireapp

libGDX Firebase API
Apache License 2.0
63 stars 21 forks source link

IOS Guide seems out-dated, and the given specification doesn't work #62

Open prateekchandan opened 1 year ago

prateekchandan commented 1 year ago

Describe the bug I am following this guide: https://github.com/mk-5/gdx-fireapp/wiki/iOS-Guide

I have multiple problems:

  1. Import of ios doesn't work
    
    :ios: Could not find pl.mk5.gdx-fireapp:gdx-fireapp-ios:1.9.3.
    Required by:
    project :ios

Possible solution:

2.  The targets in `https://firebase.google.com/download/ios,` is out-dated and the internal folder structure has changed which leads to app not building
Error:

[ERROR] 21:05:34.942 ld: framework not found FirebaseAnalytics [ERROR] 21:05:34.943 clang: error: linker command failed with exit code 1 (use -v to see invocation)


The older folder structure was:

libs -> AppAuth.framework FirebaseAuth.framework FirebaseCore.framework


Now its

libs -> FirebaseAnalytics -> FBLPromises.xcframework FirebaseCore.xcframework -> ios-arm64 ios-arm64simulator ...



I am not sure how to fix the folder structure here to link it properly

**Expected behavior**
A clear and concise description of what you expected to happen.

**Platform (please check one of the following):**
 - [ ] Android
 - [x] iOS
 - [ ] Web

**Smartphone (please complete the following information only if platform is Android or iOS):**
 - Device: [e.g. iPhone6] - Ios Simulator
 - OS: [e.g. iOS8.1]
mk-5 commented 1 year ago

Hi @prateekchandan ! thanks for reporting.

Sooo yes, ... it looks like IOS guide is a bit outdated 🤞

  1. That version doesn't not exist because of the "bintray gone". You should use the latest available version: 3.3.0

Here is a little POC project with end-2-end tests. https://github.com/mk-5/gdx-fireapp/tree/master/e2e . Pls check if it's helpful for you :)