• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal


  • Subject: Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
  • From: Chris Hanson <email@hidden>
  • Date: Tue, 27 Sep 2016 13:57:48 -0700

On Sep 27, 2016, at 1:54 PM, Markus Spoettl <email@hidden> wrote:
>
> On 27/09/16 22:39, Chris Hanson wrote:
>> How are you getting the URL that you pass to represent your application?
>>
>> Could it be that you’re constructing the URL from a relative path when run
>> from the command line, rather than the full path? (You can’t depend on being
>> run from any particular working directory.)
>
> Not sure what you mean by URL, I'm merely executing the app's executable from the command line. Assuming the My.app bundle is located in "~/Projects/My/Debug", I cd into "~/Projects/My" and execute "./Debug/My.App/Contents/MacOS/My”.

I mean, how are you constructing the SecStaticCodeRef that you pass to SecStaticCodeCheckValidity()?

  -- Chris



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
      • From: Markus Spoettl <email@hidden>
References: 
 >SecStaticCodeCheckValidity fails when app is lauched from Terminal (From: Markus Spoettl <email@hidden>)
 >Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal (From: Chris Hanson <email@hidden>)
 >Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
  • Next by Date: Re: Lifecycle for custom NSURLProtocol properties
  • Previous by thread: Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
  • Next by thread: Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
  • Index(es):
    • Date
    • Thread