firebase / flutterfire

πŸ”₯ A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.73k stars 3.98k forks source link

πŸ› [firebase_dynamic_links] error: the following command failed with exit code 0 but produced no further output CompileC #6732

Closed fauzipadlaw closed 3 years ago

fauzipadlaw commented 3 years ago

Bug report

Steps to reproduce

Steps to reproduce the behavior:

  1. flutter build ios --release --flavor myflavor
  2. error
    
    error: the following command failed with exit code 0 but produced no further output
    CompileC
    /Users/efzet/Library/Developer/Xcode/DerivedData/Runner-fmrldxxrojktcbgebzrgdnfaoohz/Build/Intermediates.noindex/Pods.build/Release-production-iphoneos/FirebaseDynamicLinks.build/Objects-normal/arm6
    4/FIRDLJavaScriptExecutor.o /Users/efzet/work/elxr_mobile/ios/Pods/FirebaseDynamicLinks/FirebaseDynamicLinks/Sources/FIRDLJavaScriptExecutor.m normal arm64 objective-c
    com.apple.compilers.llvm.clang.1_0.compiler

### Expected behavior

build success.

### Flutter doctor

Run `flutter doctor` and paste the output below:

<details><summary>Click To Expand</summary>

Doctor summary (to see all details, run flutter doctor -v): [βœ“] Flutter (Channel master, 2.5.0-2.0.pre.84, on macOS 11.5 20G71 darwin-arm, locale en) [βœ“] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [βœ“] Xcode - develop for iOS and macOS [βœ“] Chrome - develop for the web [!] Android Studio βœ— Unable to find bundled Java version. [βœ“] IntelliJ IDEA Ultimate Edition (version 2020.3.1) [βœ“] VS Code (version 1.58.2) [βœ“] Connected device (2 available)

! Doctor found issues in 1 category.


</details>

---

### Flutter dependencies

Run `flutter pub deps -- --style=compact` and paste the output below:

<details><summary>Click To Expand</summary>

Dart SDK 2.14.0-363.0.dev Flutter SDK 2.5.0-2.0.pre.84 elxr_mobile 3.1.4+201

dependencies:

dev dependencies:

dependency overrides:

transitive dependencies:


markusaksli-nc commented 3 years ago

Hi @fauzipadlaw Could you try running these commands in your ios directory?

rm -rf build
rm -rf Pods
rm -rf Podfile.lock
rm -rf ~/.pub-cache/hosted/pub.dartlang.org/
pod cache clean --all
flutter clean
flutter pub get
pod repo update
pod install

Does this not occur on regular debug builds? Thank you

google-oss-bot commented 3 years ago

Hey @fauzipadlaw. 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!

google-oss-bot commented 3 years ago

Since there haven't been any recent updates here, I am going to close this issue.

@fauzipadlaw if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.