Code Monkey home page Code Monkey logo

Comments (9)

zoontek avatar zoontek commented on July 3, 2024 2

@schumannd Did you run pod install after installing?

from react-native-bootsplash.

schumannd avatar schumannd commented on July 3, 2024 1

I still had the old import from the react-native-splash-screen package. Dumb mistake. But thanks for your help anyways!

from react-native-bootsplash.

schumannd avatar schumannd commented on July 3, 2024

@zoontek yes I did. The Podfile was unchanged however.

I did the manual installation steps afterward (adding the line to the Podfile) but the headerfile can still not be found.

from react-native-bootsplash.

zoontek avatar zoontek commented on July 3, 2024

@schumannd The unchanged Podfile is completely normal (it is loaded by the use_native_modules! instruction).

I npm installed the package and expected it to autolink. But it did not. Got the error on build:

Could you provide the error? You forgot publishing it.
Could you also publish your Podfile and Podfile.lock content ? Did you open the xcworkspace generated file to compile your project?

from react-native-bootsplash.

zoontek avatar zoontek commented on July 3, 2024

RNBootSplash is correctly linked in your Podfile.lock (but maybe because of the manual pod declaration). Can you remove it, re-run pod install and check if it's still in the lock file? If it is, the issue is probably in your Xcode config, and we'll find it.

from react-native-bootsplash.

zoontek avatar zoontek commented on July 3, 2024

I just give a try on a fresh project with RN 0.61.4 without an issue.

npx react-native init AwesomeProject
cd AwesomeProject
yarn add react-native-bootsplash
cd ios
pod install

Could you give a shot to https://www.npmjs.com/package/react-native-clean-project ?

from react-native-bootsplash.

chj-damon avatar chj-damon commented on July 3, 2024

I couldn't find RNBootSplash in Podfile.lock even if I delete Podfile.lock and rerun pod install

image
image
image

my react-native info:

info Fetching system and libraries information...
System:
    OS: macOS 13.2
    CPU: (8) arm64 Apple M2
    Memory: 100.72 MB / 24.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.19.1 - ~/.nvm/versions/node/v16.19.1/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.19.3 - ~/.nvm/versions/node/v16.19.1/bin/npm
    Watchman: 2023.03.27.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.12.0 - /Users/damon/.rvm/gems/ruby-2.7.5/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2022.1 AI-221.6008.13.2211.9514443
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.18 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2 
    react-native: 0.66.5 => 0.66.5 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

you can try this repo to reproduce: rn-template

from react-native-bootsplash.

chj-damon avatar chj-damon commented on July 3, 2024

fixed this by upgrade to 4.6.0

from react-native-bootsplash.

immanjeba98 avatar immanjeba98 commented on July 3, 2024

@zoontek i'm still having the same issue in IOS , in android its working fine
ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNBootSplash' could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false. Modules loaded: {"NativeModules":["PlatformConstants","LogBox","Timing","AppState","SourceCode","BlobModule","WebSocketModule","SettingsManager","DevSettings","RedBox","Networking","Appearance","DevLoadingView","UIManager","DeviceInfo","RNCAsyncStorage"],"TurboModules":[],"NotFound":["NativePerformanceCxx","NativePerformanceObserverCxx","BugReporting","HeadlessJsTaskSupport","PlatformLocalStorage","RNC_AsyncSQLiteDBStorage","RNBootSplash"]}, js engine: hermes

from react-native-bootsplash.

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.