Closed hgvur9gfh893o closed 8 months ago
@hgvur9gfh893o Facing the same error, how did you end up fixing it ?
This fixed it for me. 1) Go to the folder path: macos/Flutter/.symlinks/plugins/llama_cpp_dart/... 2) Create a folder called "macos" 3) Create a file called "llama_cpp_dart.podspec" 4) Paste this inside:
Pod::Spec.new do |s|
s.name = 'llama_cpp_dart'
s.version = '0.0.1'
s.summary = 'Llama Cpp Dart'
s.homepage = 'https://github.com/netdur/llama_cpp_dart'
s.license = { :type => 'MIT' }
s.author = { 'netdur' => 'team@myteam.com' }
s.source = { :git => '', :version => s.version.to_s }
s.ios.deployment_target = '17.2'
s.macos.deployment_target = '10.15'
# Framework linking is handled by Flutter tooling, not CocoaPods.
# Add a placeholder to satisfy `s.dependency 'Flutter'` plugin podspecs.
s.vendored_frameworks = 'path/to/nothing'
end
5) Change the lines s.ios.deployment_target and s.macos.deployment_target to match the versions you are targeting.
Everything else seems to work when running for MacOS, but it checks for a podspec file and so I gave it a dummy file. Hope this helps!
~ Logan (DarkComet)
I'm using llama_cpp_dart on macos, but after upgrading to 0.0.7, I get an error saying "No podspec found for
llama_cpp_dart
in `Flutter/ephemeral/.symlinks/plugins/llama_cpp_dart/macos". Is there a fix to this?