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

incorporate SwiftPriviligedHelper in own project #15

Open
hk05 opened this issue May 23, 2019 · 0 comments
Open

incorporate SwiftPriviligedHelper in own project #15

hk05 opened this issue May 23, 2019 · 0 comments

Comments

@hk05
Copy link

hk05 commented May 23, 2019

Hi,

I am trying to incorporate a simple helper in my own project. I would like to use SwiftPriviligedHelper as a starting point.

First of all: I do not have previous experience with creating helper tools, so please forgive me any ignorance in this field.

After quite a struggle I got SwiftPriviligedHelper running with my self signed developer certificate.

Next I want to add the code to my own project and change the identifiers to my own projects identifiers, so replace the com.github.erikburglund. to com.mydonain. My first attempt is to do that in the (working) SwiftPriviligedHelper project. After changing all references I cannot run the helper app any more. Trying Install causes a "Failed to install helper with error: Error Domain=CFErrorDomainLaunchd Code=4 "(null)". I tried bumping the bundle identifier, to no avail.

Any pointers on how to get this done with a simple self signed developer certificate are welcome.

Thanks!

PS: Quite frankly: I do not understand much about the certificate juggling that is going around, I am disparately reading background info (including the links provided by this project and the closed issues in this project), but the more I read the messier things get in my head on how to safely and robustly apply this technique in my own projects. Any pointers to clear and up-to-date reads on certificates / jobbless are welcome! Thanks again for providing this project!

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

1 participant