am15h / tflite_flutter_plugin

TensorFlow Lite Flutter Plugin
https://pub.dev/packages/tflite_flutter
Apache License 2.0
504 stars 353 forks source link

IOS - Couldnt build after adding the plugin #196

Closed preteambuy closed 2 years ago

preteambuy commented 2 years ago

Added the latest plugin version and i couldnt build the app. Getting the below error. Any idea?

Error output from Xcode build: ↳ 2022-05-09 21:05:29.806 xcodebuild[55873:4943205] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-05-09 21:05:29.806 xcodebuild[55873:4943205] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore BUILD FAILED

Xcode's output: ↳ Writing result bundle at path: /var/folders/nf/s2wkmhpd53z0xv9rk248w59c0000gp/T/flutter_tools.a089jN/flutter_ios_build_temp_dirQqGUaH/temporary_xcresult_bundle

Command CompileSwiftSources failed with a nonzero exit code
Command CompileSwiftSources failed with a nonzero exit code
Command CompileSwiftSources failed with a nonzero exit code
ld: framework not found TensorFlowLiteC
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
note: Removed stale file '/Users/predeep/Library/Developer/Xcode/DerivedData/Runner-crxxaajpouqerlcwzalesetfzbax/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/PromisesObjC.build/Script-DC37729DB94AC19A0B1699D00F2A355C.sh'

Result bundle written to path:
    /var/folders/nf/s2wkmhpd53z0xv9rk248w59c0000gp/T/flutter_tools.a089jN/flutter_ios_build_temp_dirQqGUaH/temporary_xcresult_bundle
PanikPlunder commented 2 years ago

It literally says "ld: framework not found TensorFlowLiteC" ...