Closed JRamos29 closed 4 years ago
Well, it works installing using the Podfile install. But can't figure it out why doesn't work installing via pubspec.yaml.
# Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
# referring to absolute paths on developers' machines.
system('rm -rf .symlinks')
system('mkdir -p .symlinks/plugins')
plugin_pods = parse_KV_file('../.flutter-plugins')
plugin_pods.each do |name, path|
symlink = File.join('.symlinks', 'plugins', name)
File.symlink(path, symlink)
if name == 'flutter_ffmpeg'
pod name+'/full', :path => File.join(symlink, 'ios')
else
pod name, :path => File.join(symlink, 'ios')
end
end
end
Correction: Actually it doesn't work. The comment above it was because i went "too smart" to configure the Podfile but don't import the package. If i import the video_trimmer or the flutter_ffmpeg itself, the error continues.
From the error message from my first post. I just changed the iOS version according to this table and it works. Sorry for the inconvenience.
Specs satisfying the flutter_ffmpeg (from
.symlinks/plugins/flutter_ffmpeg/ios)
dependency were found, but they required a higher minimum deployment target.
...
Automatically assigning platform iOS
with version 8.0
on target Runner
because no platform was specified. Please specify a platform for this target in your Podfile.
Hi, i'm trying to use the video_trimmer package, and getting an error during the build due the flutter_ffmpeg dependency. Removing the video_trimmer package from the app and testing with only the flutter_ffmpeg: ^0.2.10 the app build fails at the same way and i get the same error.
I saw some similar issues at #8 and #103 that was solved with pod update (and the difference that the name of the package has a suffix). And possibly the same for #145 and #30 .
But regards the #103, it needs to specify the package when install via pub?
I already tried the solutions proposed here, but the problem persists.
Expected behavior The build should complete without errors.
Current behavior
Other - pod update output
Screenshots No screenshots
Logs No logs.
Environment