Coder Social home page Coder Social logo

'iosfwd' file not found about flipper HOT 9 CLOSED

facebook avatar facebook commented on May 5, 2024 2
'iosfwd' file not found

from flipper.

Comments (9)

priteshrnandgaonkar avatar priteshrnandgaonkar commented on May 5, 2024

We do not support swift projects yet. We are working on it. Look at the issue #13

from flipper.

JiandanDream avatar JiandanDream commented on May 5, 2024

The same, but mine is a Objc project.

from flipper.

iineva avatar iineva commented on May 5, 2024

Xcode Version 9.4.1 (9F2000)
Create a new Objective-C project, same issue.

from flipper.

noahsark769 avatar noahsark769 commented on May 5, 2024

@JiandanDream @iineva I'm seeing this error also. AFAIK, this should work since Cocoapods should be able to compile this objc module to make it usable in a Swift module. Do either of you have a sample project I could look at to try to reproduce? An objc project fails with this error would be best for investigation purposes.

from flipper.

iineva avatar iineva commented on May 5, 2024

@noahsark769 You can try this: Test.zip

pod update
pod install
# than build project.

from flipper.

noahsark769 avatar noahsark769 commented on May 5, 2024

Can confirm that the same error happens for me on @iineva 's test project, which has no Swift (I'm running Xcode Version 9.3 (9E145)). @priteshrnandgaonkar can we reopen this since it's not a Swift specific issue?

from flipper.

noahsark769 avatar noahsark769 commented on May 5, 2024

@iineva after trying a few things, I was able to make your project compile by adding the search path "${PODS_ROOT}/SonarKit" with recursive = true to "Search Paths" under "Build Settings".

image

I have to say that I'm not exactly sure what's happening here to fix it, but I tested it twice. Unfortunately, with my project, I still get the same error :(

from flipper.

noahsark769 avatar noahsark769 commented on May 5, 2024

It looks like facebook/yoga#697, facebook/react-native#17556, facebook/yoga#711 were similar issues that React Native had with Swift projects.

The fix there seems to have been to specify public_header_files in Yoga's podspec specifically so that headers with c++ are excluded. My guess is we'll need to some something similar for Sonar/SonarKit.

from flipper.

noahsark769 avatar noahsark769 commented on May 5, 2024

This ended up being a search path issue. See explanation at #13

from flipper.

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.