Giter Site home page Giter Site logo

How to install to iOS about react-native-td HOT 6 CLOSED

quipper avatar quipper commented on August 16, 2024
How to install to iOS

from react-native-td.

Comments (6)

hotchemi avatar hotchemi commented on August 16, 2024 4

@noymer Ooh thx for the investigation 🙇
I'd say we should modify example code and readme like below to align RN official guide 🙇
Thank you for your dedicated work~!

  # Your 'node_modules' directory is probably in the root of your project,
  # but if not, adjust the `:path` accordingly
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
    'RCTText',
    'RCTNetwork',
    'RCTWebSocket', # needed for debugging
    # Add any other subspecs you want to use in your project
  ]
  # Explicitly include Yoga if you are using RN >= 0.42.0
  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

from react-native-td.

noymer avatar noymer commented on August 16, 2024 3

Hi,

After some searching, I found this issue.
facebook/react-native#17799

I modified code like this,

pod 'React', path: '../node_modules/react-native', subspecs: [
    'DevSupport'
    ]

and both android and iOS builds succeeded!

The build suceeded code is:
https://github.com/noymer/RNTreasureDataExample/tree/485c49b31f579f7bf1b8b315d12ac32e2df3c914

from react-native-td.

noymer avatar noymer commented on August 16, 2024 2

Can you try to re-install dependencies as the following order?
yarn add react-native-td
cd ios
pod init
(edit podfile)
pod install
react-native link react-native-td

Unfortunatelly, even if I re-installed,
build is failed with the same error.

The re-installed code is:
https://github.com/noymer/RNTreasureDataExample/tree/d0b0903901716bdaa942cb0b4e8e8cae3167a3ab

from react-native-td.

hotchemi avatar hotchemi commented on August 16, 2024

@noymer Thx for your dedicated info! We'll check your example later and could you possibly check the following points?

  • Does the sample work on Android?
  • Can you try to re-install dependencies as the following order?
    • yarn add react-native-td
    • cd ios
    • pod init
    • (edit podfile)
    • pod install
    • react-native link react-native-td

from react-native-td.

noymer avatar noymer commented on August 16, 2024

@hotchemi Thank you quick response!

On Android, the sample works.
(except DuplicateFileException, but it doesn't matter in this issue)

I will try re-install.

from react-native-td.

hotchemi avatar hotchemi commented on August 16, 2024

Addressed, thx guys!

from react-native-td.

Related Issues (8)

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.