charlesjs / csauthsample Goto Github PK
View Code? Open in Web Editor NEWSwift and ObjC-based library to assist with implementing a privileged helper tool in a macOS application.
License: MIT License
Swift and ObjC-based library to assist with implementing a privileged helper tool in a macOS application.
License: MIT License
macOS 10.15.4
Xcode 11.4
I can't build it on my Mac.
Could you give me some advice?
Why Do I need to use SwiftLint?
thanks
warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint
Command PhaseScriptExecution failed with a nonzero exit code
๐ Hello! Super useful project here. I have an issue/question about running this on the latest macOS.
As of today, it seems it is impossible to compile this project without the CSAuthSample-Example.xcconfig
file being completely filled out. Luckily for us, GlobalSetupScript.swift
seems designed to do this.
Fatal error: Unexpectedly found nil while unwrapping an Optional value: file SetupHelperPlists/SetupHelperPlists.swift, line 14
Unfortunately, GlobalSetupScript.swift
appears to not be reference by any Build Phase or script event. As such, this .xcconfig
file is never filled out on time and this project cannot be compiled.
If I manually supply the required keys to the .xcconfig
, I can get around this error, but this is particularly unenjoyable to do for the relatively complex CS_REQUIREMENT
value.
By default, this CSAuthSample-Example.xcconfig
looks like this:
CURRENT_PROJECT_VERSION = 1
And if we change it to this, the project no longer fails to compile:
APP_BUNDLE_ID = "com.charlessoft.CSAuthSample-Example"
XPC_SERVICE_ID = "com.charlessoft.CSAuthSample-Example.XPCService"
HELPER_ID = "com.charlessoft.CSAuthSample-Example.helper"
CS_REQUIREMENT = ""
๐ค Is there a chance this is something that can be resolved, or something I overlooked, in the project setup? Besides that, very much appreciate this tool and I can't wait to keep using it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.