Giter Site home page Giter Site logo

Comments (8)

gibo77 avatar gibo77 commented on June 3, 2024 2

@gibo77 Can you run pod install in ios directory and see if it helps?

I did cd iOS pod install cd .. to no avail. Even re install Cocoapods and same error.

But I was able to remedy this. In Xcode go to Project folder navigator -> Development Pods -> RNReanimated ->keyboardObserver. Click REAKeyboardEventObserver.m. On the right screen Identity and Type change name of file REAKeyboardEventObserver.mm which will point to the Objective C++ file we have in the folder.

from react-native-reanimated.

Saifadin avatar Saifadin commented on June 3, 2024 1

I know this is marked as completed, but shouldn't this be solved on a library level as well?

from react-native-reanimated.

github-actions avatar github-actions commented on June 3, 2024

Hey! πŸ‘‹

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

from react-native-reanimated.

tomekzaw avatar tomekzaw commented on June 3, 2024

@gibo77 Thanks for reporting this issue. Can you please provide more information, e.g. exact compile errors, so we can investigate this problem?

from react-native-reanimated.

gibo77 avatar gibo77 commented on June 3, 2024

@gibo77 Thanks for reporting this issue. Can you please provide more information, e.g. exact compile errors, so we can investigate this problem?

Below is a copy of the error from Xcode build. I have this error in 3.9 and it is also showing in 3.10.0
Showing All Errors Only
Build input file cannot be found: '/Users/xxxx/Documents/node_modules/react-native-reanimated/apple/keyboardObserver/REAKeyboardEventObserver.m'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

I did my investigation. I went to the file /react-native-reanimated/apple/keyboardObserver/REAKeyboardEventObserver.m This file REAKeyboardEventObserver.m in the folder is REAKeyboardEventObserver.mm. It is looking off .m file and not the .mm. C++ plus could not be compiled and looking for .m which is Objective-C only.
How can Xcode compiler compile .mm file instead of .m?

from react-native-reanimated.

tomekzaw avatar tomekzaw commented on June 3, 2024

@gibo77 Can you run pod install in ios directory and see if it helps?

from react-native-reanimated.

tomekzaw avatar tomekzaw commented on June 3, 2024

@Saifadin We can't reproduce this error on our side; the library setup looks okay

from react-native-reanimated.

arochedy avatar arochedy commented on June 3, 2024

Same problem for me.

I don't undesrtand why when I rebuild pods it's not updated in my file project.pbxproj

Works when updating file in xocde development pods

from react-native-reanimated.

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.