Giter Site home page Giter Site logo

dyld[7510]: Library not loaded: @rpath/OneSignalInAppMessages.framework/OneSignalInAppMessages Error on App Launch when running in Real Device. Simulator it's working fine about react-native-onesignal HOT 2 OPEN

pankajnegi1893 avatar pankajnegi1893 commented on June 24, 2024
dyld[7510]: Library not loaded: @rpath/OneSignalInAppMessages.framework/OneSignalInAppMessages Error on App Launch when running in Real Device. Simulator it's working fine

from react-native-onesignal.

Comments (2)

jennantilla avatar jennantilla commented on June 24, 2024

Hi @pankajnegi1893 thank you for your patience. Is this still an issue for you? If so, are you able to update to the latest release and let us know if the behavior is the same?

Thanks!

from react-native-onesignal.

pankajnegi1893 avatar pankajnegi1893 commented on June 24, 2024

To fix above issue I have tried below steps

  1. Removed OneSignalNotificationServiceExtension Completed from Xcode project.

  2. cd ios && pod install

  3. Now follow React Native SDK Setup

  4. Because we are added few script like Setup Firebase Environment GoogleService-Info.plist and [CP-User] [RNFB] Crashlytics Configuration. Beacause of these script are running first after that it checking OneSignalInAppMessages.xcframework. So we have to move "Embed Foundation extension" before "Compile sources".

73efff22-c103-4edb-953e-831fe7a8c33d
  1. Some other key points

Add OneSignalInAppMessages.xcframework into Frameworks,Libraries and Embedded Content

f8de7028-eb22-4138-9d59-d938e7b24fc8
  1. In Pod file include this in bottom
 target 'OneSignalNotificationServiceExtension' do
    pod 'OneSignalXCFramework', '>= 5.0.0', '< 6.0'
  end

from react-native-onesignal.

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.