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

Build hangs during "Run Script" phase when using google_maps_navigation package #156

Open
OrKahilaPumba opened this issue Sep 19, 2024 · 1 comment
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@OrKahilaPumba
Copy link

Environment Details

API/Package: google_maps_navigation (utilizing Google Maps SDK for iOS)
OS Type and Version: macOS Ventura 13.x on Mac M2
Library Version and Other Environment Information:
Flutter Version: 3.24.3
Xcode Version: 15.4
CocoaPods Version: 1.12.1
google_maps_navigation Version: 0.3.0

Steps to reproduce

  1. Add the google_maps_navigation package to pubspec.yaml
  2. Attempt to build the iOS app

Stack trace

PhaseScriptExecution Run\ Script /Users/[username]/Library/Developer/Xcode/DerivedData/Runner-[unique_id]/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-[script_id].sh (in target 'Runner' from project 'Runner')
cd /Users/[username]/navigation_test_app/ios
/bin/sh -c /Users/[username]/Library/Developer/Xcode/DerivedData/Runner-[unique_id]/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-[script_id].sh

Additional Logs

[✓] Flutter (Channel stable, 3.24.3, on macOS Ventura 13.x [arm64], locale en-US)
• Flutter version 3.24.3 on channel stable at /Users/[username]/flutter
• Framework revision [revision] ([date]), [time] ago
• Engine revision [engine_revision]
• Dart version [dart_version]
• DevTools version [devtools_version]

Observations:
When building for a physical device, the first build hangs but the second build succeeds quickly, likely due to caching.
The archive process always starts from scratch and hangs during the "Run Script" phase, preventing successful archiving.
Removing the google_maps_navigation package from pubspec.yaml allows the build and archive processes to complete successfully.
The issue seems specific to the google_maps_navigation package.

Request

Could you please assist in identifying why the inclusion of the google_maps_navigation package causes the build to hang during the "Run Script" phase on iOS? Any guidance or suggestions would be greatly appreciated.

Thanks!

@OrKahilaPumba OrKahilaPumba added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Sep 19, 2024
@illuminati1911
Copy link
Contributor

Thanks for the issue @OrKahilaPumba!

We'll take a look.

@illuminati1911 illuminati1911 self-assigned this Sep 20, 2024
@jokerttu jokerttu added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed triage me I really want to be triaged. labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

4 participants