Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide signed DMG package for Mac #738

Closed
larsrc opened this issue Apr 14, 2016 · 19 comments
Closed

Provide signed DMG package for Mac #738

larsrc opened this issue Apr 14, 2016 · 19 comments

Comments

@larsrc
Copy link

larsrc commented Apr 14, 2016

I was happily using Printrun on Linux until recently, where I switched to Mac. Due to company policy, I cannot install unsigned DMG packages on the Mac. Could you provide a signed DMG? Instructions are here: https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/DistributingApplicationsOutside/DistributingApplicationsOutside.html

@kliment
Copy link
Owner

kliment commented Apr 14, 2016

Hi! Unfortunately I don't have a developer ID or a mac modern enough to run any xcode version with signing capability. If you have one, would you be willing to build mac binaries?

@ntoff
Copy link

ntoff commented Apr 24, 2016

How do you build the mac binaries? Same way in windows with that batch file?

@edyweber
Copy link

kliment... PrintRun stop running in my mac... No reason.. Yesterday was working ok... It does not open (app no responding). Any help?

@hroncok
Copy link
Collaborator

hroncok commented Mar 26, 2018

@syky27 is my colleague from @3DprintFIT. He has the account and stuff needed to sign the macOS binaries.

@kliment Could you please instruct him on what exactly is needed?

@hroncok
Copy link
Collaborator

hroncok commented Mar 26, 2018

@kliment
Copy link
Owner

kliment commented Mar 26, 2018

There is an unsigned binary at https://github.com/kliment/Printrun/releases/download/printrun-2.0.0rc5/pronterface-mac-2.0.0rc5.zip right now - you'd need to unpack it, and then run

codesign -s identityname pronterface.app --deep

Where identityname is your apple/signingkey ID.
I don't know what is needed to then package it into a dmg, but once that is done I believe the dmg needs to be signed the same way (without --deep iirc).

@kliment
Copy link
Owner

kliment commented Mar 26, 2018

Alternatively you can follow the build instructions linked above locally and build it yourself - however in that case you need to edit the dist/pronterface.app/Contents/Info.plist and edit the version (set to 2.0.0rc5) and add the NSAppSleepDisabled key.

@kliment
Copy link
Owner

kliment commented Mar 26, 2018

Here is how to create a dmg:

  • copy the .app into a new folder.
  • open Disk Utility -> File -> New Image -> Image From Folder.
  • select the folder with the .app, give the DMG a name and save.

@syky27
Copy link

syky27 commented Mar 26, 2018

@kliment Hi, I'll do that tomorrow, sorry for the late response...

@kliment
Copy link
Owner

kliment commented Mar 26, 2018

No hurry at all, @syky27 and thank you so much!

@syky27
Copy link

syky27 commented Mar 28, 2018

I have created symlink to /Applications to the .dmg, for better usability.

The app itself is signed as well as the .dmg

Please test when you get a chance.

Sorry for the link but the archive is too big to upload to GH.

https://www.dropbox.com/s/9pl1amezeycepfc/Signed_Pronterface.zip?dl=0

@kliment
Copy link
Owner

kliment commented Mar 28, 2018

Thanks, looks great, I've uploaded it to the release page.

@syky27
Copy link

syky27 commented Mar 28, 2018

Make sure, you let me know when new build pending for signature is available.

I'll be happy to sign it.

@kliment
Copy link
Owner

kliment commented Mar 28, 2018

Awesome, thank you so much! @FidelCapo, can you test the DMG please?

@FidelCapo
Copy link

@kliment When I downloaded pronterface from the link that provided @syky27 , dmg and the app looks signed and I can open them. The Pronterface I downloaded from github relases (https://github.com/kliment/Printrun/releases/download/printrun-2.0.0rc5/pronterface-mac-2.0.0rc5.zip) is not signed.

@kliment
Copy link
Owner

kliment commented Mar 29, 2018

@FidelCapo that is correct - I've uploaded the signed dmg to the releases also now. The .zip is still unsigned.

@FidelCapo
Copy link

@kliment ok

@kliment kliment closed this as completed Sep 12, 2018
@rockstorm101
Copy link
Collaborator

Dear @hroncok and @syky27, I believe we are very close to being able to release (at last) version 2.0.0 of Printrun. We face the same inconvenience as last time, we lack "developer ID or a mac modern enough to run any xcode version with signing capability". Could you please help again on this regard when the time comes?

@syky27
Copy link

syky27 commented Jul 3, 2020

@rockstorm101 sure thing, let me know...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants