HomeiOS Developmentflutter construct ci for ios app utilizing github motion

flutter construct ci for ios app utilizing github motion


I am making a CI/CD in my challenge repo utilizing github motion for my ios software, when i run it i get this error

Error (Xcode): Construct enter file can't be discovered: '/Customers/runner/Downloads/GoogleService-Information.plist'. Did you neglect to declare this file as an output of a script section or customized construct rule which produces it?

my script

title: iOS CI/CD

on:
  push:
    branches:
      - dwell
  pull_request:
    branches:
      - dwell
      
jobs:
  construct:
    runs-on: macos-latest
    
    env:
      GOOGLE_SERVICES_JSON: ${{ secrets and techniques.GOOGLE_SERVICES_JSON }}
    steps:
    - makes use of: actions/checkout@v3
    - makes use of: subosito/flutter-action@v2
      with:
        channel: 'secure'
        structure: x64
    - run: echo $GOOGLE_SERVICES_JSON > ios/Runner/GoogleService-Information.plist
    - run: flutter pub get
    - run: flutter construct ios --release --no-codesign --dart-define="ENVIRONMENT=PROD"

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments