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.

Unable to build v3.13.1 with RN 0.69 and Fabric

See original GitHub issue

Description

Xcode build is failing with No template named 'optional' in namespace 'std'; did you mean 'folly::Optional'?

Screenshots

Screen Shot 2022-06-09 at 9 54 56 AM

Steps To Reproduce

1.USE_FABRIC=1 RCT_NEW_ARCH_ENABLED=1 pod install 2. Build with Xcode.

Expected behavior

Succeeds to build.

Actual behavior

Fails to build.

Reproduction

Platform

  • iOS
  • Android
  • Web
  • Windows
  • tvOS

Workflow

  • Managed workflow
  • Bare workflow

Package versions

package version
react-native 0.69.0-rc.6
@react-navigation/native 6.0.10
@react-navigation/native-stack 6.6.2
react-native-screens 3.13.1
react-native-safe-area-context 3.3.2
react-native-gesture-handler 2.4.2
react-native-reanimated 3.0.0-rc.0

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
kkafarcommented, Jun 30, 2022

Hi @maxperry! We’ve just released version 3.14. Could you try to upgrade and let us know whether it works for you now?

3reactions
bavekucommented, Jun 17, 2022

Description

Xcode build is failing with No template named 'optional' in namespace 'std'; did you mean 'folly::Optional'?

Screenshots

Screen Shot 2022-06-09 at 9 54 56 AM

Steps To Reproduce

1.USE_FABRIC=1 RCT_NEW_ARCH_ENABLED=1 pod install 2. Build with Xcode.

Expected behavior

Succeeds to build.

Actual behavior

Fails to build.

Reproduction

Platform

  • iOS
  • Android
  • Web
  • Windows
  • tvOS

Workflow

  • Managed workflow
  • Bare workflow

Package versions

package version react-native 0.69.0-rc.6 @react-navigation/native 6.0.10 @react-navigation/native-stack 6.6.2 react-native-screens 3.13.1 react-native-safe-area-context 3.3.2 react-native-gesture-handler 2.4.2 react-native-reanimated 3.0.0-rc.0

Because Fabric uses C++17, and we still use C++11,

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native 0.69.5 White Screen Crash - Stack Overflow
I had react native 0.68.2 project for update I created new react project then installed expo bareworkflow add all packages 1 by 1...
Read more >
configure project :react-native-reanimated aar for ... - You.com
After some days i was done with iOS, but now i'm struggling with Android, not able to build grade files. I enabled Fabric...
Read more >
Enabling Fabric on iOS - React Native
1. Enable Fabric in Podfile​. Add changes to your Podfile. You can see some examples in RNTester and rn-demo-app. Podfile.
Read more >
react-native-svg - npm.io
Fabric is React Native's new rendering system. As of version 13.0.0 of this project, Fabric is supported only for react-native 0.69.0+.
Read more >
120-3-3 rules and regulations for the state minimum fire safety ...
Persons who shall violate a provision of this Code or shall fail to comply with any of the requirements thereof or who shall...
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