Skip to content

Instantly share code, notes, and snippets.

@lexuanquynh
Created June 19, 2025 03:24
Show Gist options
  • Save lexuanquynh/c752ac9ab4287a6b40bddbf736584a9e to your computer and use it in GitHub Desktop.
Save lexuanquynh/c752ac9ab4287a6b40bddbf736584a9e to your computer and use it in GitHub Desktop.
lane :generate do
# Finding all projects within directories
Dir["../**/project.yml"].each do |project_path|
# Skipping the template files
next if project_path.include? "fastlane"
UI.success "Generating project: #{project_path}"
`xcodegen -s #{project_path}`
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment