innovationmauritiustelecom / video_player_360

MIT License
22 stars 12 forks source link

xcode build failer #6

Closed telinx closed 4 years ago

telinx commented 4 years ago

video_player_360: ^0.1.4

[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale en-CN)
    • Flutter version 1.12.13+hotfix.5 at /Users/liuyucang/git/flutter
    • Framework revision 27321ebbad (3 months ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_HOME to that location.
      You may also want to add it to your PATH environment variable.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2.1, Build version 11B53
    • CocoaPods version 1.8.4

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[!] IntelliJ IDEA Ultimate Edition (version 2018.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

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

[✓] Connected device (1 available)
    • KidS iPhone • 0************* • ios • iOS 13.3.1

↳
    /Users/alex/git/flutter/.pub-cache/hosted/pub.flutter-io.cn/sqflite-1.2.1/ios/Classes/SqflitePlugin.m:2:9: warning:
    non-portable path to file '<fmdb/FMDB.h>'; specified path differs in case from file name on disk
    [-Wnonportable-include-path]
    #import <FMDB/FMDB.h>
            ^~~~~~~~~~~~~
            <fmdb/FMDB.h>
    1 warning generated.
    ld: warning: Could not find or use auto-linked library 'stdc++'
    Undefined symbols for architecture arm64:
      "_OBJC_CLASS_$_GVRSceneRenderer", referenced from:
          objc-class-ref in VideoPlayerViewController.o
      "_OBJC_CLASS_$_GVRVideoRenderer", referenced from:
          objc-class-ref in VideoPlayerViewController.o
      "_OBJC_CLASS_$_GVRRendererViewController", referenced from:
          objc-class-ref in VideoPlayerViewController.o
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Planning build
    note: Constructing build description
    warning: None of the architectures in ARCHS (arm64) are valid. Consider setting ARCHS to $(ARCHS_STANDARD) or updating it
    to include at least one value from VALID_ARCHS (arm64e). (in target 'Runner' from project 'Runner')

Could not build the precompiled application for the device. ```

Seek help, thank you.
stephangopaul commented 4 years ago

@telinx let me know if this fixes your issue.

telinx commented 4 years ago

thank you for answering this fast