Closed nzkn closed 2 years ago
Also another important note:
appdmg
installed globallyappdmg dist/1.4.7/velocityOS-1.4.7+1.4.7-macos_dmg/make_config.json dist/1.4.7/velocityOS-1.4.7+1.4.7-macos.dmg
command manually from the project root .dmg is created successfully. It seems like this issue only occurs when the command is executed by dartPlease do not depend on flutter_distributor in your project, it needs to be installed globally. Please provide the information of flutter doctor
% flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 2.10.5, on macOS 12.3.1 21E258 darwin-x64, locale en-UA)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
[✓] VS Code (version 1.65.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
• No issues found!
I tried to remove project flutter_distributor dependency and run without it, still the same result
[Edit]: Let me know if you need any extra information from me, please
This should be caused by the absence of the appdmg
command, please install it according to the documentation.
https://distributor.leanflutter.org/docs/makers/dmg
npm install -g appdmg
I have an issue when trying to build dmg:
Package is installed globally:
dart pub global activate flutter_distributor
as well as locally in pubspec.yaml:flutter_distributor: 0.0.6
There is distribute_options.yaml in the root of project:
https://gist.github.com/nzkn/7aeb5090d035b9424537265b1f90997c
And there is also make config in macos/packaging/dmg/make_config.yaml:
https://gist.github.com/nzkn/392e5eefc9346123d5fe68609bc9594f
The build is triggered with the following command, which I run from the project root:
flutter_distributor release --name sand --jobs macos-dmg
I am getting following issue when trying to build .dmg file:
After the command execution fails I can see the following content of the dist folder:
Am I doing anything wrong?