Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing BoringSSL-GRPC (0.0.32) #12660

Open
1 task done
joshua750 opened this issue Apr 17, 2024 · 6 comments
Open
1 task done

Installing BoringSSL-GRPC (0.0.32) #12660

joshua750 opened this issue Apr 17, 2024 · 6 comments
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. platform: ios Issues / PRs which are specifically for iOS. plugin: cloud_firestore Stale Issue with no recent activity type: bug Something isn't working

Comments

@joshua750
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Cloud Functions

Which platforms are affected?

iOS

Description

After installing latest version cloud_firestore: ^4.16.1 we are getting this issue below on ios

Reproducing the issue

joshua@joshuas-MacBook-Pro ios % pod install
Analyzing dependencies
cloud_firestore: Using Firebase SDK version '10.24.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '10.24.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '10.24.0' defined in 'firebase_core'
Downloading dependencies
Installing BoringSSL-GRPC (0.0.32)

[!] Error installing BoringSSL-GRPC
[!] /usr/bin/git clone https://github.com/google/boringssl.git /var/folders/91/hm2yhm515qqg8wm5zzsz4dnm0000gn/T/d20240417-6098-2yenxh --template=

Cloning into '/var/folders/91/hm2yhm515qqg8wm5zzsz4dnm0000gn/T/d20240417-6098-2yenxh'...
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 3939 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

Firebase Core version

2.29.0

Flutter Version

3.19.2

Relevant Log Output

joshua@joshuas-MacBook-Pro untitled4 % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.2, on macOS 12.6.3 21G419 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.80.0)
[✓] VS Code (version 1.80.0)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!
joshua@joshuas-MacBook-Pro untitled4 %

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

Screenshot 2024-04-17 at 11 06 25 AM
@joshua750 joshua750 added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Apr 17, 2024
@russellwheatley
Copy link
Member

@joshua750 - Try cleaning out your project:

flutter clean
cd ios &&  rm -rf Pods && rm Podfile.lock
flutter run

If this fails, could you paste your Podfile? BoringSSL is now OpenSSL so this seems odd. Maybe you have it as a dependency in your Podfile

@russellwheatley russellwheatley added plugin: cloud_firestore platform: ios Issues / PRs which are specifically for iOS. blocked: customer-response Waiting for customer response, e.g. more information was requested. Needs Attention This issue needs maintainer attention. and removed Needs Attention This issue needs maintainer attention. labels Apr 17, 2024
@joshua750
Copy link
Author

i tried everything nothing happen.the issue in ios it was working fine few day ago now suddenly i am getting this issue i don't what change comes in cloud firestore here is my pod file

Uncomment this line to define a global platform for your project

platform :ios, '12.0'

CocoaPods analytics sends network stats synchronously affecting flutter build latency.

ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}

def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), FILE)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end

File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
use_frameworks!
use_modular_headers!

flutter_install_all_ios_pods File.dirname(File.realpath(FILE))
target 'RunnerTests' do
inherit! :search_paths
end
end

post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end

@google-oss-bot google-oss-bot removed the blocked: customer-response Waiting for customer response, e.g. more information was requested. label Apr 18, 2024
@russellwheatley
Copy link
Member

@joshua750 - could you create a small reproducible reproduction in a github repository for me to check? Thanks

@russellwheatley russellwheatley added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Apr 18, 2024
@joshua750
Copy link
Author

please tell me how reproducible reproduction in a github repository i am beginner

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Apr 20, 2024
@russellwheatley
Copy link
Member

Read this: https://stackoverflow.com/help/minimal-reproducible-example

Following the above, create a repository on github to share the code reproduction of the issue with me.

@russellwheatley russellwheatley added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Apr 22, 2024
@google-oss-bot google-oss-bot added the Stale Issue with no recent activity label May 1, 2024
@google-oss-bot
Copy link

Hey @joshua750. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. platform: ios Issues / PRs which are specifically for iOS. plugin: cloud_firestore Stale Issue with no recent activity type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants