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

[Bug]: Compilation error on iOS with 0.19.4 #396

Closed
1 task done
nebis-software opened this issue Dec 5, 2024 · 12 comments
Closed
1 task done

[Bug]: Compilation error on iOS with 0.19.4 #396

nebis-software opened this issue Dec 5, 2024 · 12 comments
Labels
bug🐞 Something isn't working no-issue-activity

Comments

@nebis-software
Copy link

nebis-software commented Dec 5, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi,
using 0.19.4 on iOS I get the following error:

2024-12-05T08:50:44.770758436Z  
2024-12-05T08:50:44.770905202Z  Error (Xcode): Undefined symbol: __swift_FORCE_LOAD_$_swift_errno
2024-12-05T08:50:44.771097125Z  
2024-12-05T08:50:44.771222787Z  Error (Xcode): Undefined symbol: __swift_FORCE_LOAD_$_swift_math
2024-12-05T08:50:44.771333423Z  
2024-12-05T08:50:44.771447852Z  Error (Xcode): Undefined symbol: __swift_FORCE_LOAD_$_swift_signal
2024-12-05T08:50:44.771577114Z  
2024-12-05T08:50:44.771722502Z  Error (Xcode): Undefined symbol: __swift_FORCE_LOAD_$_swift_stdio
2024-12-05T08:50:44.771826933Z  
2024-12-05T08:50:44.772029073Z  Error (Xcode): Undefined symbol: __swift_FORCE_LOAD_$_swift_time
2024-12-05T08:50:44.772205661Z  
2024-12-05T08:50:44.772305871Z  Error (Xcode): Undefined symbol: __swift_FORCE_LOAD_$_swiftsys_time
2024-12-05T08:50:44.772404750Z  
2024-12-05T08:50:44.772537418Z  Error (Xcode): Undefined symbol: __swift_FORCE_LOAD_$_swiftunistd
2024-12-05T08:50:44.772632816Z  
2024-12-05T08:50:44.772754410Z  Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)

the error is not present if I include the package using:

    git:
      url: https://github.com/oddbit/flutter_facebook_app_events
      ref: 3e4e062ded3eb92b37e43c274ee84da4a21edfa2

Expected Behavior

No compilation errors

Steps To Reproduce

No response

Platform

iOS

Flutter Doctor

2024-12-05T08:43:40.697456001Z  Doctor summary (to see all details, run flutter doctor -v):
2024-12-05T08:43:43.740878137Z  [!] Flutter (Channel stable, 3.24.5, on macOS 15.1 24B83 darwin-x64, locale en)
2024-12-05T08:43:43.741127675Z      ! The flutter binary is not on your path. Consider adding /Volumes/workspace/repository/styleforge/flutter/tool_cache/flutter-macos-3.24.5-x86_64/flutter/bin to your path.
2024-12-05T08:43:43.741299947Z      ! The dart binary is not on your path. Consider adding /Volumes/workspace/repository/styleforge/flutter/tool_cache/flutter-macos-3.24.5-x86_64/flutter/bin to your path.
2024-12-05T08:43:43.741448160Z  [✗] Android toolchain - develop for Android devices
2024-12-05T08:43:43.741569675Z      ✗ Unable to locate Android SDK.
2024-12-05T08:43:43.741691589Z        Install Android Studio from: https://developer.android.com/studio/index.html
2024-12-05T08:43:43.741856956Z        On first launch it will assist you in installing the Android SDK components.
2024-12-05T08:43:43.742069021Z        (or visit https://flutter.dev/to/macos-android-setup for detailed instructions).
2024-12-05T08:43:43.742204711Z        If the Android SDK has been installed to a custom location, please use
2024-12-05T08:43:43.742411786Z        `flutter config --android-sdk` to update to that location.
2024-12-05T08:43:43.742515483Z  
2024-12-05T08:43:52.790496686Z  [✓] Xcode - develop for iOS and macOS (Xcode 15.4)
2024-12-05T08:43:52.790746440Z  [✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
2024-12-05T08:43:52.791070413Z      ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
2024-12-05T08:43:52.791237545Z  [!] Android Studio (not installed)
2024-12-05T08:43:56.838182151Z  [✓] Connected device (1 available)
2024-12-05T08:43:56.838436017Z  [✓] Network resources
@nebis-software nebis-software added the bug🐞 Something isn't working label Dec 5, 2024
@gcesnik2
Copy link

gcesnik2 commented Dec 5, 2024

Having the same issue

@Shatha-Naami
Copy link

Hi @nebis-software , use this version for the package

  facebook_app_events:
    git:
      url: https://github.com/oddbit/flutter_facebook_app_events
      ref: 3e4e062ded3eb92b37e43c274ee84da4a21edfa2

then open the terminal:
cd ios
pod update FBAudienceNetwork

It will be working with you!

@Purehi
Copy link

Purehi commented Dec 18, 2024

Having the same issue

@Floris93100
Copy link

Hi @nebis-software , use this version for the package

  facebook_app_events:
    git:
      url: https://github.com/oddbit/flutter_facebook_app_events
      ref: 3e4e062ded3eb92b37e43c274ee84da4a21edfa2

then open the terminal: cd ios pod update FBAudienceNetwork

It will be working with you!

I still have the same issue even with this

@nebis-software
Copy link
Author

Thanks! For my case it seems ok, but I was wondering if you can publish an updated version of the package, to have a simpler setup :)

@trainbrainclub
Copy link

Hi @nebis-software , use this version for the package

  facebook_app_events:
    git:
      url: https://github.com/oddbit/flutter_facebook_app_events
      ref: 3e4e062ded3eb92b37e43c274ee84da4a21edfa2

then open the terminal: cd ios pod update FBAudienceNetwork
It will be working with you!

I still have the same issue even with this

The same error for me (

@wwnOddbit
Copy link
Contributor

Would you try the latest version v0.19.5? Are you able to run the example app?

@antonoddbit
Copy link
Contributor

@nebis-software usually that issue due to Facebook SDK version is incompatible with previous XCode, please use branch mentioned by @Shatha-Naami, or updating your XCode version.

@II11II
Copy link

II11II commented Jan 10, 2025

After updating my Xcode to 16.0, it started working

@alejandromotadev
Copy link

Hi @nebis-software , use this version for the package

  facebook_app_events:
    git:
      url: https://github.com/oddbit/flutter_facebook_app_events
      ref: 3e4e062ded3eb92b37e43c274ee84da4a21edfa2

then open the terminal: cd ios pod update FBAudienceNetwork

It will be working with you!

This worked for me

Copy link

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Copy link

This issue was closed because it has been stalled for 5 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug🐞 Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

10 participants