Code Monkey home page Code Monkey logo

Comments (3)

shaqian avatar shaqian commented on July 20, 2024

Hi,

What is the version of your iOS device? Can you please try 9.0+?

Thanks,
Qian

from flutter_tflite.

prakhar1989 avatar prakhar1989 commented on July 20, 2024

I changed the platform to 12 (& I'm trying it out an iphone XR emulator)

diff --git a/flutter-app/ios/Podfile b/flutter-app/ios/Podfile
index 7c6cb6f..58e5a2f 100644
--- a/flutter-app/ios/Podfile
+++ b/flutter-app/ios/Podfile
@@ -1,5 +1,5 @@
 # Uncomment this line to define a global platform for your project
-# platform :ios, '9.0'
+platform :ios, '12.0'

 # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
 ENV['COCOAPODS_DISABLE_STATS'] = 'true'

Still getting the same issue

Launching lib/main.dart on iPhone XR in debug mode...
Running pod install...                                      17.1s
Starting Xcode build...
 ├─Assembling Flutter resources...                    1.8s

 └─Compiling, linking and signing...                  1.0s

Xcode build done.                                            6.9s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    ld: targeted OS version does not support use of thread local variables in
    __ZN14EigenForTFLite26NonBlockingThreadPoolTemplINS_20StlThreadEnvironmentEE8ScheduleENSt3__18functionIFvvEEE for architecture x86_64
    clang: error: 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 XR.
----------------------------------------------------

from flutter_tflite.

prakhar1989 avatar prakhar1989 commented on July 20, 2024

I was trying with an emulator but trying it with an actual device works fine! Thanks for the help :)

from flutter_tflite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.