Comments (8)
I found the PR that fixes this problem, #44
@malekhassani We must update the library and run again, or just make the same changes that have on this PR ;)
from react-native-create-library.
I have the same problem, I think React must be a dependency of the lib.
from react-native-create-library.
thank you @viniciuspalma, I solved the problem by adding the React.xcodeproj to my lib
from react-native-create-library.
I have the same issue with the master branch, although this should have been fixed with the mentioned PR. I just create a new FancyLibrary, cd to the folder, run npm install and open the ios/xworkspace but I have the same issue mentioned in here.
Did you guys managed to solve it? I am using Xcode 10 on High Sierra.
Thank you
from react-native-create-library.
It's not possible to build the library within the Xcode project. You should link it into a project and develop within there.
from react-native-create-library.
Ok, I see, it makes sense. I indeed managed to use it into a project, but thought as a first step to build it alone... thank you for your help @maicki
from react-native-create-library.
It's not possible to build the library within the Xcode project. You should link it into a project and develop within there.
- What do you mean by it is not possible to build the library within the xcode project ?
- How do you link it into a project and develop it there ? because following this article, everything was done within the xcode project
from react-native-create-library.
@viniciuspalma How am I going to update the library, I am a bit confused. is it like this:
- npm install -g react-native-create-library
2.react-native-create-library -—platforms ios,android NativeToastLibrary
-
cd NativeToastLibrary
-
npm install
because I tried the above step and React/RCTBridgeModule.h' file is still not found
from react-native-create-library.
Related Issues (20)
- Any plans to create native modules with a view component? HOT 4
- when there is no library's name with this cli, exception handling is needed
- Is this project dead ? HOT 7
- iOS module not importable after install HOT 6
- How can I create a “react native” library in Windows that is developed locally?
- React Native Library for TV HOT 1
- .podspec file is created in ios folder HOT 1
- Library
- Does anyone now how to install react-navigation in the library project?
- Just Use create-react-native-library
- error: bundling failed: ambiguous resolution: module .../index.js tries to require react-native, but there are several files providing this module. You can delete or fix them HOT 2
- Any suggested guide to building a native module using this lib(Question)
- [Feature Request] Provide test template.
- Whats the process of creating a module with cocoapods dependency HOT 1
- Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
- examples_postinstall removes wrong files
- Cannot open the generated ios workspace HOT 6
- Trailing whitespace in generated library project
- --generate-example does not work with no yarn installed
- [minor] does not show correct directory name at the end
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-create-library.