Git Product home page Git Product logo

Comments (8)

viniciuspalma avatar viniciuspalma commented on May 12, 2024 1

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.

viniciuspalma avatar viniciuspalma commented on May 12, 2024

I have the same problem, I think React must be a dependency of the lib.

from react-native-create-library.

malekhassani avatar malekhassani commented on May 12, 2024

thank you @viniciuspalma, I solved the problem by adding the React.xcodeproj to my lib

from react-native-create-library.

ademcan avatar ademcan commented on May 12, 2024

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.

maicki avatar maicki commented on May 12, 2024

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.

ademcan avatar ademcan commented on May 12, 2024

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.

eshiett1995 avatar eshiett1995 commented on May 12, 2024

It's not possible to build the library within the Xcode project. You should link it into a project and develop within there.

  1. What do you mean by it is not possible to build the library within the xcode project ?
  2. 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.

eshiett1995 avatar eshiett1995 commented on May 12, 2024

#44

@viniciuspalma How am I going to update the library, I am a bit confused. is it like this:

  1. npm install -g react-native-create-library

2.react-native-create-library -—platforms ios,android NativeToastLibrary

  1. cd NativeToastLibrary

  2. 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)

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.