Skip to content

[bug]: (Xcode): Undefined symbols: IOS crashes Flutter 3.24.3 with Analytics Error #344

@tyypgzl

Description

@tyypgzl

Is there an existing issue for this?

  • I have searched the existing issues.

CLI Version

1.0.0

Firebase Tools version

13.0.3

Flutter Doctor Output

    • Flutter version 3.24.3 on channel stable at /Users/tayyipguzel/fvm/versions/3.24.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (6 hafta önce), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/tayyipguzel/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/tayyipguzel/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.94.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.98.0

[✓] Connected device (5 available)
    • Tayyip iPhone’u (mobile)        • 00008030-00035842362BC02E            • ios            • iOS 17.6.1 21G93
    • iPhone 11 (mobile)              • 009054A7-39E8-4D42-9133-74D060F29E13 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 130.0.6723.69

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Description

I create new flutter project with this command fvm flutter create . --project-name mypretty --org dev.tagstudio --platform=android,ios -e.
Adding firebase deps on pubspec with this version.

  firebase_core: ^3.6.0
  firebase_crashlytics: ^4.1.3
  firebase_analytics: ^11.3.3

and run this command flutterfire configure. select project ...etc
Everythink is succesful until this step. I run project in ios 17.0 and throw this exception message.

Launching lib/main.dart on iPhone 11 in debug mode...
Xcode build done.                                           16.6s
Failed to build iOS app
Error (Xcode): Undefined symbols:

Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone 11.

Exited (1).

Steps to reproduce

I create new flutter project with this command fvm flutter create . --project-name mypretty --org dev.tagstudio --platform=android,ios -e.
Adding firebase deps on pubspec with this version.

  firebase_core: ^3.6.0
  firebase_crashlytics: ^4.1.3
  firebase_analytics: ^11.3.3

and run this command flutterfire configure. select project ...etc
Everythink is succesful until this step. I run project in ios 17.0 and throw this exception message.

Launching lib/main.dart on iPhone 11 in debug mode...
Xcode build done.                                           16.6s
Failed to build iOS app
Error (Xcode): Undefined symbols:

Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone 11.

Exited (1).

Expected behavior

run successful on ios emulator

Screenshots

No response

Additional context and comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs AttentionOP created or responded to issue and it needs attention.StalebugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions