An Xcodeproj-less tool for creating cross-platform Swift apps.
APACHE-2.0 License
Fix issue where Metal shaders are built for the current device's macOS version instead of the app's minimum macOS version.
Published by stackotter over 2 years ago
Full Changelog: https://github.com/stackotter/swift-bundler/compare/v2.0.2...v2.0.3
Published by stackotter over 2 years ago
Adds usage documentation and a handy tip on opening projects with Xcode after generating Xcode support.
From now on, all builds attached to releases will also be universal binaries (previously they were x86_64 builds).
Published by stackotter over 2 years ago
This release removes reliance on Swift Bundler being installed at /opt/swift-bundler
and updates the installation instructions accordingly. The recommended installation method is now via mint.
If you have previously installed Swift Bundler via the installation script method, you must delete the /opt/swift-bundler
directory.
Full Changelog: https://github.com/stackotter/swift-bundler/compare/v2.0.0...v2.0.1
Published by stackotter over 2 years ago
After a month of work and over 120 commits, I have finished rewriting and improving the entirety of Swift Bundler 🎉
For a nice overview of the changes go and read my blog post.
Bundle.json
) to new configuration format (Bundler.toml
)Apache 2.0
Bundler.toml
is in the root directory{COMMIT_HASH}
can be used to insert the current commit hash into the Info.plist at build time)Result
-based error handling is now used instead of throws
to ensure that error messages are always descriptive and always have user-friendly error messageserrorDescription
Bundler
type has been split into several smaller self-contained utilitiesswift-bundler
process is killedPublished by stackotter over 2 years ago
Add a license (GPL-v3 for now). I could swear I had already added a license, but I guess I hadn't.
Published by stackotter over 2 years ago
Published by stackotter almost 3 years ago
Fixes the remove-file-headers
sub command. It now only attempts to remove file headers from swift files.
Published by stackotter almost 3 years ago
Fixes crash in universal builds.
Published by stackotter almost 3 years ago
Fixes a crash caused by a force-unwrap.
Published by stackotter almost 3 years ago
Fixes the dynamic library copying step for universal builds.
Published by stackotter almost 3 years ago
Fixes a bug that occurred when the path to a swift bundler project contained spaces. Spaces in file paths are now correctly escaped.
Published by stackotter almost 3 years ago
Fixes an issue regarding dynamic linking. The bundler used to use DynamicLibraries
inside an app's contents as the location for dylibs. However the default location is lib
inside an app's contents and using a custom rpath lead to some issues.
Published by stackotter almost 3 years ago
Swift Bundler can now automatically detect dynamic libraries and copy them into the app bundle. The dynamic libraries are located at /path/to/YourApp.app/Contents/DynamicLibraries
. Framework resources are not supported and if a framework contains resources, swift-bundler will let you know by throwing an error and exiting.
Published by stackotter about 3 years ago
Allows the executable target to be selected in Bundle.json
and removes a few janky bits of code. Someone was having an issue with swift-bundler crashing cause zsh could not be found so now sh is used for running shell commands.
Published by stackotter about 3 years ago
Fixes a bug with generate-xcode-support
and adds remove-file-headers
which removes all file headers of source files. File headers are the autogenerated comments Xcode puts at the tops of files and some people don't like them. Add the remove-file-headers command to a prebuild script to automatically remove new ones whenever you build.
Published by stackotter about 3 years ago
Xcode support has been completely changed. Now the swift bundler generate-xcode-support
will populate the .swiftpm/xcode directory with a scheme. .xcodeproj
s are no longer generated.
Published by stackotter about 3 years ago
Fixes issues to do with universal builds.
Published by stackotter about 3 years ago