ArchGPT / insomnium

Insomnium is a fast local API testing tool that is privacy-focused and 100% local. For testing GraphQL, REST, WebSockets and gRPC. This is a fork of Kong/insomnia
MIT License
3.36k stars 139 forks source link

Couldn't open the app in MacOS #21

Closed jewei closed 7 months ago

jewei commented 10 months ago

Expected Behavior

Should be able to launch the app without errors.

Actual Behavior

Screenshot 2023-10-05 at 2 01 56 PM

Reproduction Steps

  1. Download Insomnium.Core-0.1.3.dmg from https://github.com/ArchGPT/insomnium/releases/tag/core%400.1.3
  2. Drag and drop the app into Application folder.
  3. Double click on the app from Application folder (Finder).

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

Insomnium 0.1.3b

What operating system are you using?

macOS

Operating System Version

macOS Sonoma

Installation method

Download from https://github.com/ArchGPT/insomnium/releases

Last Known Working Insomnium version

No response

Vanderhoof commented 10 months ago

Try this:

UPD: turns out you don't need cmd/opt button, just clicking Open from the context menu does the trick

You will need to do this only for the first run

jakobmulvad commented 10 months ago

I have the same issue. I tried holding cmd + open and it didn't change anything. I also tried "System settings -> Privacy & Security -> Open anyway": image ...but i get same error. Maybe my employer are applying extra strict security policies that doesn't allow me to bypass this. Dunno 🤷‍♂️

archywillhe commented 10 months ago

Aw I see. Thanks for posting! I'm still waiting for my apple developer enrollment and then I can have the app undergoes Apple notarization and there won't need to this a hack around anymore

k3mist commented 10 months ago

im not a mac user but just wanted to say thank you for the fork and removing all the BS @archywillhe !

ill be installing this on linux in the very near future. just too busy right now

thank you again!

jewei commented 10 months ago

Thanks. @Vanderhoof method (cmd + open) works for me.

K-J-HYEON commented 10 months ago

I Got It! Thanks for posting :)

elovin commented 10 months ago

@archywillhe very nice thank you :)

We could then also add this to homebrew: https://github.com/Homebrew/brew/blob/master/docs/Acceptable-Casks.md

https://localazy.com/blog/how-to-automatically-sign-macos-apps-using-github-actions

MB175 commented 10 months ago

I have the same issue. I tried holding cmd + open and it didn't change anything. I also tried "System settings -> Privacy & Security -> Open anyway": image ...but i get same error. Maybe my employer are applying extra strict security policies that doesn't allow me to bypass this. Dunno 🤷‍♂️

Same, managed Macs do this sometimes

elovin commented 10 months ago

@MB175 What happens when you go to the application install path and then do right click "open" ? I had to do this once to start it.

MB175 commented 10 months ago

@MB175 What happens when you go to the application install path and then do right click "open" ? I had to do this once to start it.

@elovin

The same issue over and over again, I also face this with vscodium for example. It must have something todo with a profile of my managed Mac, on an unmanaged devices this will obviously work. I dint do any investigation what and why a policy is blocking those

hamburml commented 9 months ago

Same issue here :/

root0x commented 9 months ago

Open system preferences -> Priacy & Security -> scroll down to security -> see where it says insomnum and click open anyway

MB175 commented 9 months ago

Open system preferences -> Priacy & Security -> scroll down to security -> see where it says insomnum and click open anyway

This will unfortunately no work, since many companies role out profiles to block trusting uncommon signing keys

root0x commented 9 months ago

This will unfortunately no work, since many companies role out profiles to block trusting uncommon signing keys

Thats true but it will help out people trying to install it on their personal machines

katespencer-bayer commented 9 months ago

For those who are stuck but have the ability to sudo, try this (change the path if you're installing it in another path):

sudo xattr -r -d com.apple.quarantine /Applications/Insomnium.app

Then try running it. I've had to do this a few times before on my MDM managed device. Not sure why sometimes "open anyway" works, sometimes right-click -> open works, and sometimes an app has to be removed from quarantine, on the same device w/ the same MDM profile, but there it is.

nsrosenqvist commented 7 months ago

Aw I see. Thanks for posting! I'm still waiting for my apple developer enrollment and then I can have the app undergoes Apple notarization and there won't need to this a hack around anymore

@archywillhe Is there anything to report on your enrollment? :)

archywillhe commented 7 months ago

Hi guys.. thanks for the wait; been busy with too many stuff & finally sorted this out. the MacOS build should be working without problem now;

I've just rebuilt Insomnium 0.2.3-a.signed.dmg

@nsrosenqvist You can click here to download the signed build

Thanks! (I'm closing this for now; feel free to reopen if anything weird happens)


(another new Insomnium build + file-system features are on the way)

archywillhe commented 7 months ago

(oops sorry I accidentally uploaded a build with half-implemented features; reverting it now & and re-uploaded a properly notarized build )

This should work now: https://github.com/ArchGPT/insomnium/releases/download/core%400.2.3-a/Insomnium.Core-0.2.3-a.signed.dmg