Skip to content

Zipped file has "Contents" folder instead of the app itself #17

@txbrown

Description

@txbrown

I am creating an app called MIDIScout. When I run the build actions the final output is a zip folder that contains two files inside:

  • "MIDIScout.app" that seems not signed since it macOS does not allow it to run
  • "MIDIScout.app.zip" which when decompressed outputs a "Contents" folder. If I then create a "MIDIScout.app" folder and put the Contents inside, it all works fine.
  • There is no .dmg file created.

At this point I assume I am doing something wrong but I do not know what exactly.

My gon-sign.json file

{
  "source": ["./build/bin/MIDIScout.app"],
  "bundle_id": "midiscout....",
  "apple_id": {
    "username": "mail@mail.com",
    "password": "password",
    "provider": "XYZ"
  },
  "sign": {
    "application_identity": "Developer ID Application: ......",
    "entitlements_file": "./build/darwin/entitlements.plist"
  },
  "dmg": {
    "output_path": "./build/bin/MIDIScout.dmg",
    "volume_name": "MIDIScout"
  },
  "notarize": [
    {
      "path": "./build/bin/MIDIScout.dmg",
      "bundle_id": "...."
    }
  ]
}

My gon-notarize.json file

{
  "apple_id": {
    "username": "@env:APPLE_USERNAME",
    "password": "@env:APPLE_PASSWORD",
    "provider": "..."
  },
  "notarize": [
    {
      "path": "./build/bin/MIDIScout.app.zip",
      "bundle_id": "...."
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions