question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RCTAssert.m line 164 - Raise Error on IOS 14.5 beta only

See original GitHub issue

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

RCTAssert.m line 164 RCTFormatError. only on IOS 14.5

React Native version:

System: OS: macOS 10.15.6 CPU: (8) x64 Intel® Core™ i7-7700HQ CPU @ 2.80GHz Memory: 765.91 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 12.16.2 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.4 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 14.3, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2 IDEs: Android Studio: 4.0 AI-193.6911.18.40.6514223 Xcode: 12.3/12C33 - /usr/bin/xcodebuild npmPackages: @react-native-community/cli: 3.0.0-alpha.7 => 3.0.0-alpha.7 react: 16.9.0 => 16.9.0 react-native: 0.61.4 => 0.61.4 npmGlobalPackages: react-native-cli: 2.0.1

Steps To Reproduce

  1. I updated my iPhone to 14.5 and tested it but couldn’t reproduce it.
  2. However, through user reviews and Crashlytics on the App Store, we have confirmed that the bug actually occurs.

Snack, code example, screenshot, or link to a repository:

Crashlytics log

Unhandled JS Exception: TypeError: Attempting to change configurable attribute of unconfigurable property., stack: defineProperties@<null>:<null> <unknown>@1151:10971 <unknown>@1130:1472 v@2:1474 <unknown>@1098:1056 v@2:1474 <unknown>@974:434 v@2:1474 <unknown>@908:530 v@2:1474 <unknown>@901:200 v@2:1474 <unknown>@900:229 v@2:1474 <unknown>@888:265 v@2:1474 <unknown>@412:337 v@2:1474 <unknown>@385:228 v@2:1474 <unknown>@6:58 v@2:1474 d@2:876 global code@2173:4

log

```Fatal Exception: RCTFatalException: Unhandled JS Exception: TypeError: Attempting to change configurable attribute of unconfigurable property.
0  CoreFoundation                 0x18520546c __exceptionPreprocess
1  libobjc.A.dylib                0x19a1707a4 objc_exception_throw
2  MyApp                          0x1004b0e78 RCTFormatError + 164 (RCTAssert.m:164)
3  MyApp                          0x100522a50 -[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 65 (RCTExceptionsManager.mm:65)
4  CoreFoundation                 0x18520a5a4 __invoking___
5  CoreFoundation                 0x1850de138 -[NSInvocation invoke]
6  CoreFoundation                 0x1850de744 -[NSInvocation invokeWithTarget:]
7  MyApp                          0x1004e2fa4 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 572 (RCTModuleMethod.mm:572)
8  MyApp                          0x1004e5138 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 108 (RCTNativeModule.mm:108)
9  MyApp                          0x1004e4e9c invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 365 (Optional.h:365)
10 libdispatch.dylib              0x184df0b20 _dispatch_call_block_and_release
11 libdispatch.dylib              0x184df2888 _dispatch_client_callout
12 libdispatch.dylib              0x184dfa064 _dispatch_lane_serial_drain
13 libdispatch.dylib              0x184dfac58 _dispatch_lane_invoke
14 libdispatch.dylib              0x184e05520 _dispatch_workloop_worker_thread
15 libsystem_pthread.dylib        0x1d0c767a4 _pthread_wqthread
16 libsystem_pthread.dylib        0x1d0c7d74c start_wqthread```

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:8
  • Comments:13

github_iconTop GitHub Comments

1reaction
nmanvithacommented, Aug 17, 2022

Same issue. Any solution for this?

1reaction
rodseicommented, Apr 8, 2021

@aksmfosef11 @dkm062 I am also facing this error in production and can’t reproduce it.

RCTAssert.m line 165 RCTFormatError

Firebase crash presents versions since the very beginning of IOS 14: image

Stack Trace: image

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS app crashing on launch - built… | Apple Developer Forums
I am unsure of how I can access my code on XCode as this is my first time building an iOS app. I...
Read more >
React Native Expo app crashes only (!) in Testflight, but not on ...
Has anyone encountered similar problems like this or got another idea where the error could be ? I don't know how to debug...
Read more >
Add Crashlytics to your React Native iOS app - Medium
Since all the RN crashes happen on the same line in the native code (RCTAssert.m line 133), Crashlytics therefore groups them together, which...
Read more >
Issues · facebook/react-native · GitHub
A framework for building native applications using React - Issues ... RCTAssert.m line 164 - Raise Error on IOS 14.5 beta only Needs:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found