Comments (4)
Other issue I encountered when I was updating to Tuist 4.17.0 is that brand new .h/.m pairs of TuistBundle+ files are added to the Derived/Source folder of the project if it contains Objective C files in it. These new .h/.m files give a No newline at the end of file warning as well.
The objc resource bundle accessors should only be generated for external projects (i.e., those added via Package.swift
). If that's not the case, there might be a bug. We went on this relatively recently (#6388) but that PR should be in 4.17.0
.
from tuist.
Other issue I encountered when I was updating to Tuist 4.17.0 is that brand new .h/.m
pairs of TuistBundle+
files are added to the Derived/Source
folder of the project if it contains Objective C files in it. These new .h/.m
files give a No newline at the end of file
warning as well.
Question derived from this are:
- Are these new
.h/.m
files necessary? They were not being generated before - Is there a way to not generate these
.h/.m
files? I could not find anything on the docs but a more general https://docs.tuist.io/generated/manifest/structs/Project.Options.html#disablebundleaccessors - Should empty lines be added to the end of the generated files?
from tuist.
Hey @cooksimo 👋
The bundle accessors are generated in this mapper. It looks like in your case, we end up with more newlines than we should be.
Would you be up for taking this on? You should be able to update the mapper and remove any extra trailing new lines from the generated accessors 🙂
from tuist.
The objc resource bundle accessors should only be generated for external projects (i.e., those added via
Package.swift
). If that's not the case, there might be a bug. We went on this relatively recently (#6388) but that PR should be in4.17.0
.
I used the latest tuist version and after running tuist generate
I'm not seeing those .h/.m
files anymore. These were internal
projects so the fix on that PR is working as expected as far as the issue I was seeing goes, thanks
from tuist.
Related Issues (20)
- Integrating `AppAuth` causes undefined symbols issues HOT 2
- Post compile script relative path is incorrect. HOT 2
- Build Issue with swift-system 1.3.0 Using Tuist HOT 1
- Invalid Manifests Cache on CI/CD HOT 9
- Stringsdict synthesized accessors generation avoid non-plural arguments HOT 3
- Using Tuist with a Swift Package - SwiftSyntaxBuilder must have a dependency condition constraining to at most: macos HOT 1
- Tuist fails to generate HOT 1
- Preprocessor Macros (Release and Debug) HOT 1
- Tuist generate fails when Tuist Cloud is configured and the server is down or local workstation facing network issue
- tuist generate fails when using cached binaries built with different macos version HOT 3
- App extensions can't have bundles as dependencies HOT 2
- mise no tasks `lint:fix` found, which is migrated to `lint-fix`
- The xcframework supports archive formats, such as `.zip`, `.tar`... HOT 3
- Mono repo - App + Framework + Macro HOT 2
- Running `tuist clean` no longer seems to clean anything
- Using Tuist with a Swift Package could not locate project HOT 3
- Is it possible to support multiple platforms for test target HOT 1
- error: missing required module 'RxCocoaRuntime' HOT 1
- ObjC code not linked unless `-ObjC` flag is manually added HOT 3
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 tuist.