IDE Install failing on OSX Catalina

Discussion related to "under the hood" OpenMV topics.
zakmckraken
Posts: 2
Joined: Wed Jul 01, 2020 7:38 am

IDE Install failing on OSX Catalina

Postby zakmckraken » Wed Jul 01, 2020 7:43 am

I get the following message when I try and run the app after I copy it to Applications from the Disk Image:

“OpenMV IDE.app” is damaged and can’t be opened. You should eject the disk image.

Anyone have a fix?

thank you.
zakmckraken
Posts: 2
Joined: Wed Jul 01, 2020 7:38 am

Re: IDE Install failing on OSX Catalina

Postby zakmckraken » Wed Jul 01, 2020 11:32 am

I solved it by running

xattr -cr /Applications/OpenMV\ IDE.app/

This clears some flags and allows it to run - however I believe the app packaging is fundamentally broken, I should not need to run this.
User avatar
kwagyeman
Posts: 4111
Joined: Sun May 24, 2015 2:10 pm

Re: IDE Install failing on OSX Catalina

Postby kwagyeman » Wed Jul 01, 2020 11:37 am

Can you let me know if this package has issues?

https://github.com/openmv/openmv-ide/re ... -2.4.0.dmg

I didn't change the process by which the app is packaged.
Nyamekye,
User avatar
kwagyeman
Posts: 4111
Joined: Sun May 24, 2015 2:10 pm

Re: IDE Install failing on OSX Catalina

Postby kwagyeman » Wed Jul 01, 2020 11:38 am

I'll do a full rebuild and see if that fixes it.
Nyamekye,
User avatar
petri
Posts: 21
Joined: Tue Jul 05, 2016 11:52 am
Location: Finland

Re: IDE Install failing on OSX Catalina

Postby petri » Wed Jul 01, 2020 12:59 pm

Have same issue. Suggested solution works.
Last edited by petri on Wed Jul 01, 2020 1:00 pm, edited 1 time in total.
User avatar
kwagyeman
Posts: 4111
Joined: Sun May 24, 2015 2:10 pm

Re: IDE Install failing on OSX Catalina

Postby kwagyeman » Wed Jul 01, 2020 1:00 pm

Hi, I'm going to do another release. In the mean-time:

http://upload.openmv.io/openmv-ide-mac- ... -2.5.1.dmg
Nyamekye,
User avatar
petri
Posts: 21
Joined: Tue Jul 05, 2016 11:52 am
Location: Finland

Re: IDE Install failing on OSX Catalina

Postby petri » Wed Jul 01, 2020 1:08 pm

Tried removing the 2.5.0 and installing this. Got a pop-up saying it cannot be opened because Apple cannot check the file against viruses etc.
User avatar
kwagyeman
Posts: 4111
Joined: Sun May 24, 2015 2:10 pm

Re: IDE Install failing on OSX Catalina

Postby kwagyeman » Wed Jul 01, 2020 1:13 pm

I just had another user say it was fine. It's digitally signed however.

Which part had the popup? The dmg or the app? The app should be signed with codesign.
Nyamekye,
User avatar
petri
Posts: 21
Joined: Tue Jul 05, 2016 11:52 am
Location: Finland

Re: IDE Install failing on OSX Catalina

Postby petri » Wed Jul 01, 2020 1:16 pm

the app. the dmg opened fine. The xattr workaround suggested above worked this time as well.
User avatar
kwagyeman
Posts: 4111
Joined: Sun May 24, 2015 2:10 pm

Re: IDE Install failing on OSX Catalina

Postby kwagyeman » Wed Jul 01, 2020 1:24 pm

Ah, you shouldn't have to do the work around with 2.5.1. maybe doing that broke the code sign.

I had another user just use the app directly without any work arounds and it worked.
Nyamekye,
User avatar
petri
Posts: 21
Joined: Tue Jul 05, 2016 11:52 am
Location: Finland

Re: IDE Install failing on OSX Catalina

Postby petri » Wed Jul 01, 2020 1:55 pm

I HAD TO do the workaround with 2.5.1: At first, without re-applying the `xattr workaround`, it did not open but showed the popup as I described. It ONLY opened after I did the workaround again.

But it is of course possible that the first time I applied the workaround is somehow affecting the new install despite me removing the app in between installs. I don't see how, but I digress...

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests