Comments (9)
Thanks for reporting this. I've pushed a fix to swift-bundler-templates
now, it seems to be working on my end. Hopefully running swift bundler templates update
and creating a new project from the template should fix your issue.
Feel free to reopen the issue if you still face any problems with the template!
from swift-bundler.
Ah, try switching that to the v3
branch, I’ll have to look into that issue.
from swift-bundler.
Got this to finally work after switching to the main branch of swift-bundler and running swift bundler templates update
.
from swift-bundler.
Apparently, your change has not arrived in swift-bundler-templates
. Push harder! 😉
from swift-bundler.
I’m pretty sure it did: https://github.com/stackotter/swift-bundler-templates/tree/v3. It’s only on the v3 branch (main is v1, due to not planning ahead when I was designing the templating system lol. If you have the latest commit of swift bundler, it should be using the v3 templates.
from swift-bundler.
Ah, I see. That explains why it should work now. However, I just ran
swift bundler templates update
swift bundler create MetalSwiftUI --templates MetalSwiftUI
cd MetalSwiftUI
swift bundler run
and got the same error still. 🤔
from swift-bundler.
Could it be possble, that the class is still used since the MetalSwiftUI package is constrained to only macOS 11 and up instead of 13 and up?
from swift-bundler.
Could it be possble, that the class is still used since the MetalSwiftUI package is constrained to only macOS 11 and up instead of 13 and up?
Nah, the availability checks are performed at runtime so that shouldn’t be an issue.
Ah, I see. That explains why it should work now. However, I just ran
swift bundler templates update swift bundler create MetalSwiftUI --templates MetalSwiftUI cd MetalSwiftUI swift bundler run
and got the same error still. 🤔
If you go to ~/Library/Application Support/dev.stackotter.swift-bundler/templates
you should find yourself in a clone of swift-bundler-templates. What’s the branch and latest commit?
In your commands you used --templates
which should be --template
, but the command worked so I’m assuming that’s just a GitHub issues typo.
from swift-bundler.
The branch is main
and the commit is ff8c6dacbdb0f6717a9c2bc3f2c285c3a12d63ec
. 😅
from swift-bundler.
Related Issues (20)
- Command Not Found via Xcode HOT 9
- Provide JSON Schema for Configuration HOT 5
- Support for bundling XPC Services HOT 4
- Implement debugging mode HOT 5
- fails to install HOT 6
- [Probably User/OpenSSL Error] Failed to verify provisioning profile HOT 1
- [Quickie] Possible to tag a new release from the main branch? HOT 8
- Support for Swift 5.9 (Swift Syntax) HOT 5
- App starts in the background when using "swift bundler run" or VSCode LLDB debugger [Solved with hack] HOT 5
- Templates come without Bundler.toml HOT 4
- `swift bundler templates list` fails to read manifest for vscode templates HOT 3
- Tries to launch the app despite build errors HOT 1
- AppImage support
- Gate macOS-only subcommands and arguments to macOS
- Move `Bundler.bundle`'s massive number of arguments into a `BundlerContext` struct instead
- The build scheme file (.xcscheme) made by generate-xcode-support can have unescaped spaces in the paths HOT 3
- Update SwiftCrossUI template to be compatible with the latest SwiftCrossUI version
- Windows support broken by `Socket` HOT 3
- Support macOS Sequoia and recent Swift versions.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-bundler.