AppSandbox, exec/open not allowed

Discussion in 'OS X Mountain Lion (10.8)' started by i.mac, Mar 13, 2013.

  1. macrumors 6502a

    Joined:
    Dec 14, 2007
    #1
    Hi...

    I wonder if any one has any words of wisdom? See below. Thanks.


    System:
    Darwin iMac.local 12.2.1 Darwin Kernel Version 12.2.1: ... RELEASE_X86_64 x86_64

    - have: xcode install with command line tools

    - have: Eclipse (eclipse.org) with CDT tools

    - have: self signed certificate enabled for code signing

    - issue: create c++ hello world executable, codesign the executable, but cannot run

    $ ./main.hello
    -bash: ./main.hello: Operation not permitted


    $ spctl --assess main.hello
    main.hello: File created by an AppSandbox, exec/open not allowed

    $ codesign --display --verbose=4 main.hello
    Executable=~/workspace/../Debug/main.hello
    Identifier=main
    Format=Mach-O thin (x86_64)
    CodeDirectory ...
    location=embedded
    Hash type=sha1 size=20
    CDHash=...
    Signature size=...
    Authority=...
    Signed Time=...
    Info.plist=not bound
    Sealed Resources=none
    Internal requirements count=2 size=160
     

Share This Page