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

Having Issues On iOS Platform 10.0 #45

Closed
RalphMarvin opened this issue Aug 15, 2020 · 3 comments
Closed

Having Issues On iOS Platform 10.0 #45

RalphMarvin opened this issue Aug 15, 2020 · 3 comments

Comments

@RalphMarvin
Copy link

Facing build issues on iOS platform 10.0, am using the 'full-lts' package.
I get the ff error:

Undefined symbols for architecture armv7:
      "_OBJC_CLASS_$_MobileFFprobe", referenced from:
          objc-class-ref in flutter_ffmpeg(FlutterFfmpegPlugin.o)
      "_OBJC_CLASS_$_MobileFFmpeg", referenced from:
          objc-class-ref in flutter_ffmpeg(FlutterFfmpegPlugin.o)
      "_OBJC_CLASS_$_MobileFFmpegConfig", referenced from:
          objc-class-ref in flutter_ffmpeg(FlutterFfmpegPlugin.o)
      "_OBJC_CLASS_$_ArchDetect", referenced from:
          objc-class-ref in flutter_ffmpeg(FlutterFfmpegPlugin.o)
    ld: symbol(s) not found for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see
    invocation)
@sbis04
Copy link
Owner

sbis04 commented Aug 15, 2020

Do check this issue: tanersener/flutter-ffmpeg#36
Also this StackOverflow thread: https://stackoverflow.com/questions/6429494/undefined-symbols-for-architecture-armv7

But first of all, try this:

  • Run the following from the root folder:

    flutter clean
  • Then, from the ios folder run:

    pod install
  • Now, try running the app again.

@RalphMarvin
Copy link
Author

Do check this issue: tanersener/flutter-ffmpeg#36
Also this StackOverflow thread: https://stackoverflow.com/questions/6429494/undefined-symbols-for-architecture-armv7

But first of all, try this:

  • Run the following from the root folder:
    flutter clean
  • Then, from the ios folder run:
    pod install
  • Now, try running the app again.

None of the solutions from the above links worked. Still facing the same issue

@sbis04
Copy link
Owner

sbis04 commented Aug 18, 2020

Okay, I now understand. It is actually happening due to the implementation of flutter_ffmpeg. Unfortunately Flutter v1.20.x changed the Podfile format. It will soon be fixed by the creator of flutter_ffmpeg package.

Refer to this issue: tanersener/flutter-ffmpeg#175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants