Giter VIP home page Giter VIP logo

csauthsample's People

Contributors

atnan avatar charlesjs avatar mdales avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

devhkh

csauthsample's Issues

warning about SwiftLint

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

warnings and errors

warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint
Command PhaseScriptExecution failed with a nonzero exit code

Unable to Compile; Related to Missing Config Variables, Appears GlobalScriptSetup.swift Currently Required But Never Runs

๐Ÿ‘‹ 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.

โš ๏ธ Here's my problem: the following file, Common/Build Scripts/GlobalSetupScript.swift, which is responsible for generating the required CSAuthSample-Example.xcconfig file, appears to never be executed at any time. So, when I try to build the project, it fails with:

Fatal error: Unexpectedly found nil while unwrapping an Optional value: file SetupHelperPlists/SetupHelperPlists.swift, line 14

Screen Shot 2021-03-12 at 11 37 28 PM

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.