gdx-fireapp icon indicating copy to clipboard operation
gdx-fireapp copied to clipboard

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

Open prateekchandan opened this issue 3 years ago • 1 comments

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:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

  1. 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]

prateekchandan avatar Nov 05 '22 15:11 prateekchandan

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 :)

mk-5 avatar Nov 11 '22 23:11 mk-5