Comments (4)
check pls what u see in Project -> Build settings -> User Script Sandboxing
If YES, try to switch on NO
Also u can have such error if name of ur project include spaces or hyphens
And try to move .yml in root folder of ur project
from swiftgen.
Hello Lobsterrinho! I tried to move the swiftgen.yml file up one folder, but now I get:
The file “swiftgen.yml” couldn’t be opened because you don’t have permission to view it.
UPDATE: Solved setting ENABLE_USER_SCRIPT_SANDBOXING to false.
from swiftgen.
Hi mate, try to move .yml to folder which upper one
from swiftgen.
Quite late, but if you don't want to move your .yml and .stencil files at the root of project folder, you should modify
-
Your bash command
if which swiftgen >/dev/null; then
swiftgen config run --config /path-to-your-swiftgen.yml-file/swiftgen.yml
else
"echo: Swiftgen not found"
fi` -
In swiftgen.yml file
input_dir: /path-to-your-project/input-folder
output_dir: /path-to-your-project/output-folder
And now you can move your swiftgen and stencil files wherever you want :)
from swiftgen.
Related Issues (20)
- Adding Extra parameter when running SwiftGen through Xcode HOT 1
- String template is not able to generate a function with a string parameter and a plural int HOT 2
- Make `SwiftUI` types the default and not `UIKit` types. HOT 1
- Color Generated with SwiftUI HOT 2
- disable Font typealias? HOT 1
- Addition of .string file changes all previous strings usage HOT 1
- Ability to change Locale HOT 6
- Feature Request: Public access to either the fallback string or the ability to specify locale HOT 2
- Add ability to refer file name of JSON HOT 3
- Support for visionOS HOT 2
- Is this repo deprecated? HOT 4
- Add an XcodeBuiltToolPlugin for swiftgen HOT 5
- [Homebrew] Error: swiftgen has been disabled because it does not build! HOT 10
- Apple privacy manifest support HOT 2
- SwiftGen Errors on Swift 6 HOT 10
- Subsequent builds after first build always fail
- Fatal error: Unable to initialize font
- 'InitialSceneType' requires that 'StoryboardScene.UILoadingViewController' inherit from 'UIViewController'
- Warning: SwiftGen not installed, download it from https://github.com/SwiftGen/SwiftGen HOT 1
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 swiftgen.