How to build Authenticator Flutter app for iOS?

Hi everyone! I am a non-Flutter developer, trying to build an Authenticator app for both Android and iOS with custom Firebase settings.
Steps that I did when building an Android version:

  • forked a project and cloned it onto my system;
  • installed Flutter plugin into VSCode (which also installed Flutter and Dart SDK);
  • installed Android Studio;
  • created a project in Firebase Console;
  • added an Android app with the bundle name “my.privacyidea.app” (name is fictional for the record);
  • downloaded google-services.json;
  • put the google-services.json file into android\app\src\debug and android\app\src\release;
  • changed client.package_name to my.privacyidea.app.debug in android\app\src\debug\google-services.json as it said in an instruction lib/utils/customization/application_customization.dart;
  • changed android.productFlavors.netknights to my.privacyidea.app in android/app/build.gradle;
  • changed android.productFlavors.netknights_debug to my.privacyidea.app.debug in android/app/build.gradle;
  • ran Start debugging in VSCode with privacyIDEA Authenticator - debug configuration.

The result app works fine even though I haven’t built a release version yet. I scanned a QR, added a token, tried to authenticate - my Android phone receives push notifications.

My question is: what are the steps for building an iOS version?

I borrowed Macbook from my coworker and tried to run the commands from README, from Flutter documentation. I asked an LLM, it suggested to do some adjustments in the source code which I believe is unnecessary. I also made multiple adjustments with XCode to the project but all goes wrong. I think there is quite simple way to just build an app :blush:

Forgot to mention that I’ve created an iOS app in Firebase console, downloaded the GoogleService-Info.plist into ios/. Build failed.