New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue running in MacOS #134
Comments
I cannot help on macOS unfortunately. |
Please ensure that CMake is installed. |
Ya this issue appeared after installing CMake. |
So you initially attempted to build it before CMake was installed (which obviously won't work), installed CMake afterwards and ran it again and encountered that issue? Did you try |
Ya, i updated to the latest version and then ran the project, it showed CMake wasn't installed. After installing i had the error which i mentioned above. Ya i had tried flutter clean, restarted as well. Let me know if you need any further info. |
Run |
Verbose CMake Log
|
What's your CMake version? ( |
cmake version 3.21.1 CMake suite maintained and supported by Kitware (kitware.com/cmake). |
Is this issue resolved for you @sanalkv ? Closing this will be good idea for us. |
It hasn't been resolved. I will close this if I'm able to run in macOS. let me know you if you guys are able to run the latest version in macOS. |
We are not certain what is going wrong. You may see that our CI build is not failing either. It's some build error specific to your setup. Appreciate your feedback. You may try running the example by cloning the repo (with |
Tried the example version, faced the same issue. Exception: Build process failed |
@krjw-eyev Sure, I will try it out. |
@sanalkv great! have you had any luck? |
@krjw-eyev I'm having issues applying the changes that you have mentioned. can you please provide the steps to make those changes, like providing the path or location where i need to add those lines exactly. Thanks in advance. |
you clone the repository and add it to your project with then you go to the dart_vlc_ffi:
git:
url: https://github.com/alexmercerind/dart_vlc
path: ./ffi In both the folders s.script_phases = [
{
:name => 'Fetch submodules... only needed if using git in pubspec.yaml',
:show_env_vars_in_log => true,
:script => 'cd ${PODS_TARGET_SRCROOT}/.. && git submodule update --init --recursive',
:execution_position => :before_compile
},
... after that you do |
Looks like ${PODS_TARGET_SRCROOT}/.. wont work if your flutter folder is not located in mac 'Documents/Flutter' in macos. I had placed my flutter folder in a different place so i had to manually set the path instead of ${PODS_TARGET_SRCROOT}/.. . @krjw-eyev let me know if you have any alternatives. |
How you solve it? |
Hello. I have the same issues. I see that this is closed but it have always the same issue. |
I don't know how to solve it. See #242. Contributions are welcomed. |
Launching lib/main.dart on macOS in debug mode... lib/main.dart:1 Command CompileSwift failed with a nonzero exit code Command CompileSwift failed with a nonzero exit code CMake Error: The source directory "/Users/Mac15/Documents/Flutter Projects/sample flutter projects/sample_project/macos/Pods/projects/sample_project/macos/Flutter/ephemeral/.symlinks/plugins/dart_vlc/macos/deps" does not exist. Specify --help for usage, or press the help button on the CMake GUI. Command PhaseScriptExecution failed with a nonzero exit code Command CompileSwift failed with a nonzero exit code note: Using new build system note: Building targets in parallel note: Planning build note: Analyzing workspace note: Constructing build description note: Build preparation complete ** BUILD FAILED **
The text was updated successfully, but these errors were encountered: