Giter Site home page Giter Site logo

Comments (15)

adrianomarquess avatar adrianomarquess commented on July 28, 2024 5

Same problem in react-native 0.60.4

from react-native-share-extension.

adrianotadao avatar adrianotadao commented on July 28, 2024 2

@njt1982 I need to confess that I don't like so much React Native. Every single update that Xcode had, we had problems with the app. That's incredible!

About the error, I saw a lot of blog posts talking about the order on header search path. I changed everything and nothing had worked.

The bad news is that I don't know how I did the error disappear. In many of many times, the problem was with the update of Xcode but I don't know if is your case.

from react-native-share-extension.

alinz avatar alinz commented on July 28, 2024 2

@njt1982 I know the pain, unfortunately when you are working with edge technologies which only backed by community you always find yourself in this situation. To me that's the fun of it, figure things out the solutions and understand the concepts.

One thing I usually do, is commit small things and once I solve it, I do git diff to find out why and how. Also you are documenting how you solve the problem by adding more context into the commit message.

every new SDK will break your code, it's not just react-native, swift has gone into many iterations and every iteration breaks the previous one.

from react-native-share-extension.

adrianotadao avatar adrianotadao commented on July 28, 2024 1

@alinz yes, you're right but, React Native is a bit strange. This error has disappeared, now, it returns after I deleted the ios/build. This is going to drive me crazy.. =(

from react-native-share-extension.

alinz avatar alinz commented on July 28, 2024

@adrianotadao did you upgrade to React-native 0.40? if so you need to follow up with this issue
facebook/react-native#11721 (comment)

from react-native-share-extension.

adrianotadao avatar adrianotadao commented on July 28, 2024

@alinz I'm using the version 0.39.0. The error just disappears. There are a bunch of things on XCode that I want to understand. Someday, who knows?!

I tried to update the react-native version but I'm using other libs that conflict with the version 0.40.

Now, everything here is okay and I don't know how I fixed.

Thank you a lot!

from react-native-share-extension.

alinz avatar alinz commented on July 28, 2024

@adrianotadao what I usually do is slowly added each module and try to see if I can compile and run, and then I move to the next one. It is painful but this is how you should do it.

from react-native-share-extension.

njt1982 avatar njt1982 commented on July 28, 2024

@adrianotadao same here - how did you resolve?

from react-native-share-extension.

alinz avatar alinz commented on July 28, 2024

@njt1982 I have been using this module with react-native 0.45 without any issues. Please read the doc and follow the instruction. Pretty sure you missed something in there. Also, start with a plain simple project and try to get it to work.

from react-native-share-extension.

njt1982 avatar njt1982 commented on July 28, 2024

I had the same issue as @adrianotadao - turns out you seem to need to compile the main target first?!

(I have followed the instructions).

from react-native-share-extension.

njt1982 avatar njt1982 commented on July 28, 2024

IIRC what fixed it for me was to compile and run the main application first, then the extension compiled and ran fine. For me it was caused by project build space being cleaned and the extension being unable to compile as the main project wasn't compiled. I think ;)

@adrianotadao I know what you mean. Sometimes a task which should seem simple snowballs for the most frustrating and obscure reason... However, equally, React Native has let me build my app much more quickly than it would have taken to do it directly in xcode and I have got the added benefit of (in theory) being able to run it with very few changes on Android too.

from react-native-share-extension.

adrianotadao avatar adrianotadao commented on July 28, 2024

I entirely agree with both of you guys. hehehe I don't hate react-native. I like it, is better than write native code ( a thing that I already did) but, if for instance, the product owner, knows what is react-native, he will think that all things that we will create will be very easy and quick. So, when you have some of these problems, the company starts to think that you are unable to do the job and if you gather it with the unknown problem, you start to live a stressful day.

That's my point. React and react native are nice! I don't like Xcode. hahahaha I need to say: I H-A-T-E Xcode...

from react-native-share-extension.

Faolain avatar Faolain commented on July 28, 2024

If it helps at all guys I fixed this issue by including in my header search paths for the files that were missing these files:

$(SRCROOT)/../../../node_module/React
$(SRCROOT)/../../../node_modules/react-native/React

from react-native-share-extension.

RamashishTomar avatar RamashishTomar commented on July 28, 2024

Same problem in react-native 0.60.4

how do you fix it

from react-native-share-extension.

duguodong258 avatar duguodong258 commented on July 28, 2024

same problem in react-native0.61.5

from react-native-share-extension.

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.