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

Run time error #2

Open
molcik opened this issue Sep 23, 2018 · 1 comment
Open

Run time error #2

molcik opened this issue Sep 23, 2018 · 1 comment

Comments

@molcik
Copy link

molcik commented Sep 23, 2018

Hi,

after compiling it successfuly I get this error:

2018-09-23 16:55:15.614590+0200 PPTPVPN[88006:4618614] Something went wrong! CFErrorDomainLaunchd / 4
@iHongRen
Copy link
Owner

for pptp-vpn, run this cmd to check that everything is OK:
$ ./SMJobBlessUtil.py setreq build/Debug/PPTPVPN.app PPTPVPN/Info.plist HelpTool/HelpTool-Info.plist


The project is set up to use whatever Developer ID you have installed. However, various entries in various Info.plist files reference the specifics of this Developer ID and these have to be changed to reference your Developer ID. You can do this as follows:

 

  1. Build the sample in the normal way (Product > Build).
     
  2. Run SMJobBlessUtil.py's "setreq" command to make the necessary Info.plist changes:
     
    $ ./SMJobBlessUtil.py setreq build/Debug/SMJobBlessApp.app SMJobBlessApp/SMJobBlessApp-Info.plist SMJobBlessHelper/SMJobBlessHelper-Info.plist
    SMJobBlessApp/SMJobBlessApp-Info.plist: updated
    SMJobBlessHelper/SMJobBlessHelper-Info.plist: updated
     
  3. Clean the sample (Product > Clean).
     
  4. Build the sample again.
     
  5. Run SMJobBlessUtil.py's "check" command to check that everything is OK. If there's a problem it prints an informative diagnostic message otherwise; if everything is OK then, as is traditional on UNIX, it prints nothing.
     
    $ ./SMJobBlessUtil.py check build/Debug/SMJobBlessApp.app
     
  6. Run the sample.

from SMJobBless.txt

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

No branches or pull requests

2 participants