Comments (15)
Same problem in react-native 0.60.4
from react-native-share-extension.
@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.
@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.
@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.
@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.
@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.
@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.
@adrianotadao same here - how did you resolve?
from react-native-share-extension.
@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.
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.
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.
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.
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.
Same problem in
react-native 0.60.4
how do you fix it
from react-native-share-extension.
same problem in react-native0.61.5
from react-native-share-extension.
Related Issues (20)
- Issue HOT 5
- Sharing from browser: real iOS device receives page title, simulators receive URL HOT 2
- Video File Issue? HOT 1
- Audio and Video share empty value problem HOT 5
- not able to share image from google photos when app in background HOT 1
- Share extension opens up different instance of application HOT 4
- This no longer works HOT 10
- Error after clicking on my app icon during sharing (Expokit, Android) HOT 1
- 0.62.2 (Podspec) HOT 1
- 0.62.2 issue HOT 2
- 🔥How to clear image from bundle when app goes in background after receiving image prop HOT 1
- Working in React Native 0.62.2 (iOS) HOT 18
- What file extensions are allowed? HOT 1
- ERROR: File not found #import "React/RCTBridgeModule.h" HOT 1
- Cannot find lDoubleConversion HOT 1
- share ActionExtension not working with firebase
- expo-dev-client / EAS build integration? HOT 1
- Not getting Url when sharing image from Google to share extension ( Android)
- Cant share screenshot on ios
- Invariant Violation: "passages" has not been registered. This can happen if:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-share-extension.