Git Product home page Git Product logo

flukeformac's Introduction

This is Apple's Sandbox Test Case.

App Sandboxing

checkout the slide

Pre-requisite:

  1. set the shebang of setup.py to current python version of your Mac. Possibly this path:

/System/Library/Frameworks/Python.framework/Versions/Current/bin/python2.7

` Python 2.7.10 (default, Oct 23 2015, 19:19:21) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin Type "help", "copyright", "credits" or "license" for more information.

`

setup.py looks like this: #!/System/Library/Frameworks/Python.framework/Versions/Current/bin/python2.7 ...

  1. install dependency from pip (may need sudo)
  • appscript
  • mutagen

sudo pip install -r requirements.txt

  1. build

./setup.py py2app

  1. run

open ./dist/Fluke.app

  1. failing with following in the log

29/04/2016 5:10:32.826 PM appleeventsd[56]: SecTaskLoadEntitlements failed error=22 29/04/2016 5:10:33.022 PM Fluke[4318]: Fluke Error 29/04/2016 5:10:33.076 PM launchservicesd[82]: SecTaskLoadEntitlements failed error=22 29/04/2016 5:10:33.081 PM launchservicesd[82]: SecTaskLoadEntitlements failed error=22 29/04/2016 5:10:36.018 PM sharedfilelistd[3327]: SecTaskLoadEntitlements failed error=22

flukeformac's People

Contributors

chayapan avatar

Watchers

 avatar

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.