Skip to content

Unable to start the app packaged as darwin-dmg or darwin-pkg #500

Open
@Aurora12

Description

@Aurora12

Hover doctor

macOS Catalina 10.15.5

$ hover doctor
hover: Hover version v0.42.0 running on darwin
hover: Sharing flutter version
Flutter 1.20.0-7.3.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision e606910f28 (2 days ago) • 2020-07-28 16:06:37 -0700
Engine • revision ac95267aef
Tools • Dart 2.9.0 (build 2.9.0-21.10.beta)
hover: Flutter engine commit: https://github.com/flutter/engine/commit/ac95267aef5175b3f6c3387d502070c68f588ad5
hover: Finding out the C compiler version
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
hover: Sharing the content of go.mod
module test_dmg/go

go 1.14

require (
	github.com/go-flutter-desktop/go-flutter v0.41.2
	github.com/pkg/errors v0.9.1
)
hover: Sharing the content of hover.yaml
application-name: ""
executable-name: ""
package-name: ""
license: ""
target: lib/main_desktop.dart
branch: ""
cache-path: ""
opengl: ""
engine-version: ""
hover: Sharing the content of go/cmd
go/cmd/main.go	go/cmd/options.go

Steps to reproduce

flutter create test_dmg
cd test_dmg
hover init
hover --docker build darwin-dmg
hover --docker build darwin-pkg

Error output 1

Start /go/build/outputs/darwin-dmg/test_dmg 1.0.0.dmg. It should open a Finder window (see screenshot below).

It unpacks the .app which can not be run. The OS says: "You can’t open the application “test_dmg 1.0.0” because it may be damaged or incomplete."

image

Error output 2

Start /go/build/outputs/darwin-dmg/test_dmg 1.0.0.pkg. It should open an installer window (see screenshot below).

When the installation process is complete, the OS says: "The installation failed".

image

The good news

/go/build/outputs/darwin-dmg/test_dmg 1.0.0.app works. The app seems to be not aware of the dpi of the screen and shows as a blurry upscale, but still.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    MacOSSpecifically concerns MacOShover

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions