Coder Social home page Coder Social logo

Comments (3)

plivesey avatar plivesey commented on June 11, 2024 3

@dmorrow, you can add something like this to your Podfile:

post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        s = config.build_settings['OTHER_SWIFT_FLAGS']
        s = [ '\$(inherited)' ] if s == nil;
        s.push('-Xfrontend')
        s.push('-debug-time-function-bodies')
        config.build_settings['OTHER_SWIFT_FLAGS'] = s
      end
    end
end

from buildtimeanalyzer-for-xcode.

Buju77 avatar Buju77 commented on June 11, 2024 2

@plivesey thx for the suggestion.

It has one slight typo though. You don't need the \ to escape if the string is using single-quoted ' in Ruby.

        ...
        s = [ '$(inherited)' ] if s.nil?
        ...

from buildtimeanalyzer-for-xcode.

RobertGummesson avatar RobertGummesson commented on June 11, 2024

Assuming the CocoaPods are built in Swift (and not a compiled framework), I can't see why it wouldn't work already. Having that said, I actually haven't tried any and all projects I work on uses CocoaPods built in Objective-C or C.

If they are not coded in Swift however, it won't work. The plugin relies on the 'debug time function bodies' flag which is only works for Swift.

from buildtimeanalyzer-for-xcode.

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.