Giter Club home page Giter Club logo

mac-dist-helper's People

Contributors

danomatika avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mac-dist-helper's Issues

How to correctly include pre-built binary for signing?

Hi there,

Thanks a lot for this project. I'm new to the world of Apple signing and notarisation and is a very helpful resource.

I've created an OpenFrameworks app which utilises ffmpeg. I include a pre-built ffmpeg binary in the app's data folder.

I have mac.dist.include = bin/data included in my Makefile. Initially the notarisation failed as ffmpeg hadn't been signed. So I tried to include it using mac.dist.progs/mac.dist.libs in the Makefile, but couldn't figure out the correct way to get it copied across from my bin/data folder.

In my Makefile I added mac.dist.libs = bin/data/ffmpeg but at the codesign stage of make app dist-dmg I get the error:

===== codesign
codesign --sign "Developer ID Application: <My Developer ID>" --force --options runtime --timestamp build/dist/MyOFApp-1.0.0/bin/data/ffmpeg
build/dist/MyOFApp-1.0.0/bin/data/ffmpeg: No such file or directory

If I instead try to include mac.dist.libs = data/ffmpeg then I get:

===== distdir
mkdir -p build/dist/MyOFApp-1.0.0
rsync -a --exclude ".*"  \
                MyOFApp.app data/ffmpeg bin/data build/dist/MyOFApp-1.0.0
rsync: link_stat "<path to app>/MyOFApp/data/ffmpeg" failed: No such file or directory (2)

If I create a folder at the root of my project called data containing ffmpeg then it gets copied over correctly and the signing and notarization works.

I can see that the issue is just where the file gets copied to and from but from reading through the makefile I can't figure it out. Do I need to override mac.dist.dir or mac.dist.subdir?

Is there a suggested pattern for including files from bin/data to be signed?

Any pointers appreciated

Many thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.