yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
6.88k stars 809 forks source link

Support Artifact Bundle #1388

Closed freddi-kit closed 4 months ago

freddi-kit commented 10 months ago

Motivation

SE-0305 is introduced and it is now important for build tools.

Artifact Bundle helps to support Artifact bundle to not take time to making build binary.

I developed new OSS tool named ArtifactBundleGen to create it easily.

Changes

Test

Run make archive

freddi-kit commented 10 months ago

What is the story around the SettingPresets assets? I don't think these are being bundled with the artifact. I assume we need to move these to package resources first.

I support it in this commit, could you help checking it? 🙇

As an aside, would love the github release process to be automated at some point.

I have idea to do it, let me do it in other PR 👍

freddi-kit commented 10 months ago

i noticed i need to sereval things for support resource please wait a moment

freddi-kit commented 10 months ago

@yonaskolb https://github.com/yonaskolb/XcodeGen/pull/1388/commits/512ec959f2ace2d96a77d77d394562725d9ea16b Now SettingPresets can be loaded from artifact bundle, please check it

freddi-kit commented 10 months ago

@yonaskolb Linux issue is solved, please check again

roman-aliyev commented 9 months ago

@yonaskolb @freddi-kit We have recently solved the same task. See mac-cain13/R.swift#838 . May be this will help you.

freddi-kit commented 9 months ago

@yonaskolb do you have any concern? I also agree with @roman-aliyev 's way

mat1th commented 6 months ago

Is there any update on this PR? I would like to use XcodeGen from a swiftPackage.

freddi-kit commented 4 months ago

@yonaskolb could you help checking it again? 🙇

kkebo commented 4 months ago

I created a sample project. I hope this will be helpful for someone.

https://github.com/kkk669/xcodegen-artifactbundle-demo/