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

Add a way to specify custom build settings #102

Open
mstfy opened this issue Sep 8, 2023 · 3 comments
Open

Add a way to specify custom build settings #102

mstfy opened this issue Sep 8, 2023 · 3 comments

Comments

@mstfy
Copy link

mstfy commented Sep 8, 2023

Is there a way to add custom build settings to scipio. It would be handy to specify an xcconfig file during to compilation of spm packages. With this way ve can enable and disable certain thing without touching the scipio's code. For example new mergable libraries.

@giginet
Copy link
Owner

giginet commented Sep 14, 2023

Hi!

ScipioKit provides extraFlags and extraBuildParameters.
https://giginet.github.io/Scipio/documentation/scipio/build-pipeline#Pass-Custom-Build-Flags

You can pass custom build settings for all packages or the specific package.

But we don't provide this feature for the CLI version of scipio. Please make your wrapper script.
It's said in the documentation. However, our documentation is not enough yet. If you have any question, feel free to ask here

@mstfy
Copy link
Author

mstfy commented Sep 27, 2023

Tried it but it crashes with the error that says invalid package. I created simple package just contains Alamofire as dependency. My xcode version is xcode 15.

@giginet
Copy link
Owner

giginet commented Sep 29, 2023

Sorry, supporting Xcode 15 was maintained in another branch.

I supported both Xcode 15 and 14.3 on a current main. Could you try this?

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