Git Product home page Git Product logo

Comments (4)

fortmarek avatar fortmarek commented on June 24, 2024 2

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.

noelcperez avatar noelcperez commented on June 24, 2024 1

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:

from tuist.

fortmarek avatar fortmarek commented on June 24, 2024

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.

noelcperez avatar noelcperez commented on June 24, 2024

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.

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.