Skip to content

(New) Architecture

LeoTM edited this page May 16, 2022 · 54 revisions

Feature requests

React Native - New Architecture

medium.com/@Kelset/the-react-native-re-architecture-ab7219850d4f

  • New Architecture
    • Intro
    • Native Modules/Library intro (then Enabling on Android/iOS)
  • Architecture

React Native - Old Architecture

  • Native Modules intro (then Android/iOS/npm)
  • Android Native Components (Android/iOS/Direct Manipulation)

JS (browser)

JS (browser)


Building for iOS Intel x86_64 Architecture

Slower with better compatibility

rm -rf /Users/<user>/Library/Developer/Xcode/DerivedData
cd ios
arch -x86_64 pod install
..
arch -x86_64 yarn ios

Excluding arm64

# project.pbxproj
# ...
- "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
# ...
- "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
# ...

Open Xcode 13 using Rosetta or iTerm

Details

Clone this wiki locally