invertase / flutterfire_cli

A CLI to help with using FlutterFire in your Flutter applications.
Apache License 2.0
164 stars 47 forks source link

fix: remove absolute paths from run phase build script #175

Closed russellwheatley closed 1 year ago

russellwheatley commented 1 year ago

Description

This PR removes absolute paths from polluting the Xcode project. It uses Xcode's environment variables to execute Dart & Flutter bin. Removed from the following run phase build scripts:

  1. uploading debug symbols
  2. bundling service file for iOS build configuration.

How I tested

I can't write a test as the app needs to be run but I tested locally. Here is the new Run phase build script in Xcode using Xcode environment variables:

Screenshot 2023-04-26 at 14 43 37

Here is the script being executed successfully:

Screenshot 2023-04-26 at 14 43 08

Type of Change