React Native iOS Construct Crashes after Putting in Reanimated V2

[ad_1]

iOS Construct Crashes after put in Reanimated 2. Utilizing React Native 0.71.2

I’ve additionally constructed the Reanimated playground domestically and it runs efficiently.
When operating the iOS Mission from the command line (i.e. yarn begin) the undertaking hangs with the next:

Construct Logs from CLI:

information Discovered Xcode workspace "GluApp.xcworkspace"
information Discovered booted iPhone 14, iPhone 14 Plus
information Launching iPhone 14
information Constructing (utilizing "xcodebuild -workspace GluApp.xcworkspace -configuration Debug -scheme GluApp -destination id=87333F30-59BA-47D3-BC75-5401B963DECF")
Command line invocation:
    /Purposes/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace GluApp.xcworkspace -configuration Debug -scheme GluApp -destination id=87333F30-59BA-47D3-BC75-5401B963DECF

Consumer defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Put together packages

Computing goal dependency graph and provisioning inputs

Create construct description
Construct description signature: a8a3776bb009792fd6aef7d31e911c75
Construct description path: /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/XCBuildData/a8a3776bb009792fd6aef7d31e911c75-desc.xcbuild

notice: Constructing targets in dependency order
warning: Run script construct section 'Create Symlinks to Header Folders' will probably be run throughout each construct as a result of it doesn't specify any outputs. To deal with this warning, both add output dependencies to the script section, or configure it to run in each construct by unchecking "Primarily based on dependency evaluation" within the script section. (in goal 'fmt' from undertaking 'Pods')
ProcessInfoPlistFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Merchandise/Debug-iphonesimulator/fmt/fmt.framework/Information.plist /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods/Goal Help Information/fmt/fmt-Information.plist (in goal 'fmt' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    builtin-infoPlistUtility /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods/Goal Help Information/fmt/fmt-Information.plist -producttype com.apple.product-type.framework -expandbuildsettings -format binary -platform iphonesimulator -o /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Merchandise/Debug-iphonesimulator/fmt/fmt.framework/Information.plist

ProcessInfoPlistFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Merchandise/Debug-iphonesimulator/glog/glog.framework/Information.plist /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods/Goal Help Information/glog/glog-Information.plist (in goal 'glog' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    builtin-infoPlistUtility /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods/Goal Help Information/glog/glog-Information.plist -producttype com.apple.product-type.framework -expandbuildsettings -format binary -platform iphonesimulator -o /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Merchandise/Debug-iphonesimulator/glog/glog.framework/Information.plist

WriteAuxiliaryFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/libwebp.construct/libwebp-all-target-headers.hmap (in goal 'libwebp' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    write-file /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/libwebp.construct/libwebp-all-target-headers.hmap

WriteAuxiliaryFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/libevent.construct/libevent-all-target-headers.hmap (in goal 'libevent' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    write-file /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/libevent.construct/libevent-all-target-headers.hmap

WriteAuxiliaryFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/Yoga.construct/yoga-all-target-headers.hmap (in goal 'Yoga' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    write-file /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/Yoga.construct/yoga-all-target-headers.hmap

WriteAuxiliaryFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/React-perflogger.construct/reactperflogger-all-target-headers.hmap (in goal 'React-perflogger' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    write-file /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/React-perflogger.construct/reactperflogger-all-target-headers.hmap

WriteAuxiliaryFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/SDWebImage.construct/SDWebImage-all-target-headers.hmap (in goal 'SDWebImage' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    write-file /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/SDWebImage.construct/SDWebImage-all-target-headers.hmap

WriteAuxiliaryFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/React-logger.construct/logger-all-target-headers.hmap (in goal 'React-logger' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    write-file /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/React-logger.construct/logger-all-target-headers.hmap

WriteAuxiliaryFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/PromisesObjC.construct/FBLPromises-all-target-headers.hmap (in goal 'PromisesObjC' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    write-file /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/PromisesObjC.construct/FBLPromises-all-target-headers.hmap

WriteAuxiliaryFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/React-jsinspector.construct/jsinspector-all-target-headers.hmap (in goal 'React-jsinspector' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    write-file /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/React-jsinspector.construct/jsinspector-all-target-headers.hmap

WriteAuxiliaryFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/DoubleConversion.construct/DoubleConversion-all-target-headers.hmap (in goal 'DoubleConversion' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    write-file /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/DoubleConversion.construct/DoubleConversion-all-target-headers.hmap

WriteAuxiliaryFile /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/GTMSessionFetcher.construct/GTMSessionFetcher-all-target-headers.hmap (in goal 'GTMSessionFetcher' from undertaking 'Pods')
    cd /Customers/chaserobbins/Paperwork/GitHub/glu-rn/ios/Pods
    write-file /Customers/chaserobbins/Library/Developer/Xcode/DerivedData/GluApp-exnhohxglkpavifmejwmwogxilfm/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/GTMSessionFetcher.construct/GTMSessionFetcher-all-target-headers.hmap

PhaseScriptExecution [CP] Co

Errors when launching from xCode:

Undefined image: hermes::vm::NopCrashManager::~NopCrashManager()

Undefined image: fb::jsi::HostObject::getPropertyNames(fb::jsi::Runtime&)

Undefined image: fb::jsi::HostObject::get(fb::jsi::Runtime&, fb::jsi::PropNameID const&)

Undefined image: fb::jsi::HostObject::set(fb::jsi::Runtime&, fb::jsi::PropNameID const&, fb::jsi::Worth const&)

Undefined image: fb::jsi::HostObject::~HostObject()

Undefined image: fb::jsi::Worth::Worth(fb::jsi::Worth&&)

Undefined image: fb::jsi::Worth::Worth(fb::jsi::Runtime&, fb::jsi::Worth const&)

Undefined image: fb::jsi::Worth::~Worth()

Undefined image: fb::jsi::Buffer::~Buffer()

Undefined image: fb::jsi::JSError::JSError(fb::jsi::Runtime&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)

Undefined image: fb::jsi::JSError::~JSError()

Undefined image: fb::react::HermesExecutorFactory::defaultRuntimeConfig()

Undefined image: fb::hermes::makeHermesRuntime(hermes::vm::RuntimeConfig const&)

Undefined image: fb::jsi::Worth::asNumber() const

Undefined image: fb::jsi::Worth::toString(fb::jsi::Runtime&) const

Undefined image: fb::jsi::Object::getPropertyAsObject(fb::jsi::Runtime&, char const*) const

Undefined image: fb::jsi::Object::getPropertyAsFunction(fb::jsi::Runtime&, char const*) const

Undefined image: fb::jsi::Worth::asObject(fb::jsi::Runtime&) const &

Undefined image: fb::jsi::Worth::asString(fb::jsi::Runtime&) const &

Undefined image: fb::jsi::Worth::asSymbol(fb::jsi::Runtime&) const &

Undefined image: fb::jsi::Object::asFunction(fb::jsi::Runtime&) const &

Undefined image: fb::jsi::Object::asArray(fb::jsi::Runtime&) const &

Undefined image: fb::jsi::Worth::asObject(fb::jsi::Runtime&) &&

Undefined image: fb::jsi::Worth::asString(fb::jsi::Runtime&) &&

Undefined image: fb::jsi::Object::asFunction(fb::jsi::Runtime&) &&

Undefined image: fb::jsi::Object::asArray(fb::jsi::Runtime&) &&

Undefined image: typeinfo for fb::jsi::HostObject

Undefined image: typeinfo for fb::jsi::Buffer

Undefined image: typeinfo for fb::jsi::JSError

Undefined image: vtable for hermes::vm::CrashManager

Undefined image: vtable for hermes::vm::NopCrashManager

Undefined image: vtable for fb::jsi::HostObject

Undefined image: vtable for fb::jsi::Buffer

Undefined image: vtable for fb::react::HermesExecutorFactory

Podfile:

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
$RNFirebaseAsStaticFramework = true

platform :ios, min_ios_version_supported
prepare_react_native_project!

# If you're utilizing a `react-native-flipper` your iOS construct will fail when `NO_FLIPPER=1` is about.
# as a result of `react-native-flipper` is dependent upon (FlipperKit,...) that will probably be excluded
#
# To repair this you may also exclude `react-native-flipper` utilizing a `react-native.config.js`
# ```js
# module.exports = {
#   dependencies: {
#     ...(course of.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
  Pod::UI.places "Configuring Pod with #{linkage}ally linked Frameworks".inexperienced
  use_frameworks! :linkage => linkage.to_sym
finish

goal 'GluApp' do
  use_frameworks!
  config = use_native_modules!

  # Flags change relying on the env values.
  flags = get_default_flags()

  use_react_native!(
    :path => config[:reactNativePath],
    # Hermes is now enabled by default. Disable by setting this flag to false.
    # Upcoming variations of React Native might depend on get_default_flags(), however
    # we make it express right here to help within the React Native improve course of.
    :hermes_enabled => flags[:hermes_enabled],
    :fabric_enabled => flags[:fabric_enabled],
    # Allows Flipper.
    #
    # Be aware that when you have use_frameworks! enabled, Flipper is not going to work and
    # you must disable the following line.
    # :flipper_configuration => flipper_config,
    # An absolute path to your utility root.
    :app_path => "#{Pod::Config.occasion.installation_root}/.."
  )

  goal 'GluAppTests' do
    inherit! :full
    # Pods for testing
  finish

  post_install do |installer|
    react_native_post_install(
      installer,
      # Set `mac_catalyst_enabled` to `true` in an effort to apply patches
      # needed for Mac Catalyst builds
      :mac_catalyst_enabled => false
    )
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
  finish
finish

bundle.json

  "title": "GluApp",
  "model": "0.0.1",
  "personal": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "lint": "eslint .",
    "begin": "react-native begin",
    "check": "jest"
  },
  "dependencies": {
    "@cometchat-pro/react-native-chat": "3.0.11",
    "@firebase/app": "^0.9.3",
    "@firebase/auth": "^0.21.3",
    "@react-native-async-storage/async-storage": "^1.17.11",
    "@react-native-firebase/app": "^17.1.0",
    "@react-native-firebase/auth": "^17.1.0",
    "@react-navigation/native": "^6.1.3",
    "@react-navigation/native-stack": "^6.9.9",
    "@react-query-firebase/auth": "^1.0.0-dev.2",
    "firebase": "^9.17.1",
    "react": "18.2.0",
    "react-native": "0.71.2",
    "react-native-confirmation-code-field": "^7.3.1",
    "react-native-fast-image": "^8.6.3",
    "react-native-flatlist-alphabet": "^1.1.2",
    "react-native-reanimated": "^2.14.4",
    "react-native-safe-area-context": "^4.5.0",
    "react-native-screens": "^3.19.0",
    "react-native-sheet": "^0.1.6",
    "react-native-vector-icons": "^9.2.0",
    "react-query": "^3.39.3"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/preset-env": "^7.20.0",
    "@babel/runtime": "^7.20.0",
    "@react-native-community/eslint-config": "^3.2.0",
    "@tsconfig/react-native": "^2.0.2",
    "@sorts/jest": "^29.2.1",
    "@sorts/react": "^18.0.24",
    "@sorts/react-test-renderer": "^18.0.0",
    "babel-jest": "^29.2.1",
    "eslint": "^8.19.0",
    "jest": "^29.2.1",
    "metro-react-native-babel-preset": "0.73.7",
    "prettier": "^2.4.1",
    "react-test-renderer": "18.2.0",
    "typescript": "4.8.4"
  },
  "jest": {
    "preset": "react-native"
  }
}

[ad_2]

Leave a Reply