FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
113 stars 19 forks source link

Failed Step: Install pods & New Flutter update has broken all previous working actions #2120

Closed MyTechAgent closed 6 months ago

MyTechAgent commented 7 months ago

Has your issue been reported?

Current Behavior

I am unable to deploy to apple and all my functions are now broken after the most recent flutter upgrade.

Expected Behavior

errors should be green and I should be able to deploy to apple.

image

image

image

Steps to Reproduce

  1. try to create a new action using the following code.

image

// Automatic FlutterFlow imports import '/backend/backend.dart'; import '/backend/schema/structs/index.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/custom_code/actions/index.dart'; // Imports other custom actions import '/flutter_flow/custom_functions.dart'; // Imports custom functions import 'package:flutter/material.dart'; // Begin custom action code // DO NOT REMOVE OR MODIFY THE CODE ABOVE!

Future convertCentsToDollars(int cents) async { // convert cents to dollars double dollars = cents / 100; return dollars; }

  1. Try to deploy to apple.

Reproducible from Blank

Bug Report Code (Required)

IT4OiPHqw4VOxLhY1rrUKcZR/T0UKUA1bZZM0NZxSgE2G73NG4gIZfTBXE9uOP25dglqOGeakn8zzN7Im9z1EsYnBw+bRr5CzqoJaw7jUnqgSrahPqW8TkB+GshnJhWv1qan3yJ7D7d2c14E6jqLN/O8cB/ZJpz7NnodAcqaMt/XmAfuQ0SLb3kNh1JWeC/v

Context

I was going to run campaigns and do my first production release for my FF app.

Visual documentation

image

Deployment Error:

Codemagic Deploy Output Failed Step: Install pods

Command exited with code 128: git fetch --tags Standard error: error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 fatal: expected flush after ref listing

Resolving dependencies...

CocoaPods 1.14.3 is available. To update use: gem install cocoapods

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.14.3

Downloading dependencies Installing AppAuth (1.6.2) Installing BoringSSL-GRPC (0.0.24) Installing DKImagePickerController (4.3.4)

\\\\\\\[!\\\\\\\] Error installing DKImagePickerController \\\\\\\[!\\\\\\\] /opt/homebrew/bin/git clone https://github.com/zhangao0086/DKImagePickerController.git /var/folders/w2/rrf5p87d1bbfyphxc7jdnyvh0000gn/T/d20240109-1779-usmktx --template= --single-branch --depth 1 --branch 4.3.4

Cloning into '/var/folders/w2/rrf5p87d1bbfyphxc7jdnyvh0000gn/T/d20240109-1779-usmktx'... remote: Internal Server Error fatal: unable to access 'https://github.com/zhangao0086/DKImagePickerController.git/': The requested URL returned error: 500

Build failed :| Step 6 script Install pods exited with status code 1

Additional Info

No response

Environment

- FlutterFlow version: 3.13.7
- Platform: Web
- Browser name and version: Edge
- Operating system and version affected: Windows
MyTechAgent commented 7 months ago

Thank you errors have gone away. testing deployment to apple now.

hariprasadms commented 7 months ago

Hi @MyTechAgent - Great to see the errors resolved! It's common to encounter issues during Flutter upgrades. Please close the issue as you can proceed further. Thanks

MyTechAgent commented 7 months ago

thank you closing now, deployment successful. Legend.