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

In the README, "before building from source" leaves me confused as a non-Apple developer #1

Open
paul-hammant opened this issue Mar 12, 2021 · 6 comments

Comments

@paul-hammant
Copy link

Is that swift build in Project\ Mendacius ?

Can I do that with the command line tools, or do I need the full install of XCode?

@PraneetNeuro
Copy link
Owner

PraneetNeuro commented Mar 16, 2021

Hey Paul, you don't have to install Xcode as I have uploaded a binary that you can download in the release tab, but if you want to build from source then you will have to install Xcode, you won't be able to do a swift build

Here's the direct download link : https://github.com/PraneetNeuro/Project-Mendacius/releases/download/1/Project.Mendacius.app.zip

@paul-hammant
Copy link
Author

XCode full cos of the xctest executable problem (not XCode command line tools). I'm mentioning this cos the README would be better for the the clarification.

Then, a new prob:

$ swift build 
error: root manifest not found

@PraneetNeuro
Copy link
Owner

I'm sorry for the confusion Paul but it seems there has been a misunderstanding, you need Xcode to build the project, Xcode has the SDKs which we use to build the project without which the dependencies of our project isn't available, it would be a waste to bundle the OS with the macOS SDK out of the box right?

@paul-hammant
Copy link
Author

On the Big Sur machine I'm doing swift build on I have installed XCode. Sorry for not making that clear.

Is there any other homebrew command (or package installed thing) I have to do setup my developer environment? Python has pip, Ruby has gems. What does swift have to get packages that build tools may need? With Java (and Maven) the package acquisition just happens as part of 'mvn install' for the clone/checkout in question.

@PraneetNeuro
Copy link
Owner

Oh, alright! okay in that case you shouldn't do swift build, use the command 'xcodebuild -list -project Project\ Mendacius.xcodeproj' to view the schemes and use the command 'xcodebuild -scheme build' to build. I would suggest you to do these graphically as it is far more simpler. And perform this from the project directory

@paul-hammant
Copy link
Author

-list .... cool that works.

What's the command I would run from the command line (I've greatly preferred command line builds for 30 years now) in order to build the technology (skipping tests if possible).

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