-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Closed
Labels
Needs: AttentionIssues where the author has responded to feedback.Issues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.Platform: iOSiOS applications.iOS applications.Type: New ArchitectureIssues and PRs related to new architecture (Fabric/Turbo Modules)Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
Description
After successfully running yarn install and RCT_NEW_ARCH_ENABLED = 1 pod install command. When i try to run the project from Xcode. I get that cassert.h not found, iosfwd.h file not found and memory file not found. I'm trying to enable New arch on existing project and yarn install and let me clarify again RCT_NEW_ARCH_ENABLED=1 works fine but when i try to install the build on device i encounter this issue
What i have tried so far?
- I have tried to build a new Sample project with all the dependencies i have and it worked when i was targeting 0.72 post 0.72 in the sample project now i get error in react-native-webview.
- I have also been successfull in running the build without Reanimated library and i can't remove it since its widely used in the project. Any suggestions will be helpful.
- One more thing npm i fails so i have been using yarn install
Steps to reproduce
Well, I have mentioned above that this issue is happening for existing project and not for new projects so Steps are very simple.
- After npm i and RCT_NEW_ARCH_ENABLED = 1 pod install
- When i try to build from Xcode it fails.
- yarn ios command also doesn't work but this could be metro being removed i believe
React Native Version
0.73.5
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer, Other (please specify)
Output of npx react-native info
System:
OS: macOS 13.5.2
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 469.99 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.19.0
path: ~/.nvm/versions/node/v18.19.0/bin/node
Yarn:
version: 1.22.19
path: ~/node_modules/.bin/yarn
npm:
version: 10.2.3
path: ~/.nvm/versions/node/v18.19.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.14.3
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- visionOS 1.0
- watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 15.2/15C500b
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.11
path: /usr/bin/javac
Ruby:
version: 3.1.3
path: /Users/zupee/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.5
wanted: ^0.73.0
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: false
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: true
Stacktrace or Logs
In file included from /Users/zupee/Desktop/zupee/ludo-native/ios/ludoios/AppDelegate.m:14:
/Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/RNCPushNotificationIOS/RNCPushNotificationIOS.h:18:46: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
+ (void)didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings;
^
In module 'UIKit' imported from /Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/React-Core/React/RCTJavaScriptLoader.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
In file included from /Users/zupee/Desktop/zupee/ludo-native/ios/ludoios/AppDelegate.m:14:
/Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/RNCPushNotificationIOS/RNCPushNotificationIOS.h:22:38: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
+ (void)didReceiveLocalNotification:(UILocalNotification *)notification;
^
In module 'UIKit' imported from /Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/React-Core/React/RCTJavaScriptLoader.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
In file included from /Users/zupee/Desktop/zupee/ludo-native/ios/ludoios/AppDelegate.m:44:
/Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Private/React-Core/React/RCTCxxBridgeDelegate.h:8:10: fatal error: 'memory' file not found
#include <memory>
^~~~~~~~
While building module 'glog' imported from /Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/React-debug/react/debug/react_native_assert.h:52:
In file included from <module-includes>:1:
In file included from /Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/glog/glog-umbrella.h:13:
/Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/glog/glog/logging.h:42:10: fatal error: 'iosfwd' file not found
#include <iosfwd>
^~~~~~~~
1 error generated.
While building module 'ReactCommon' imported from /Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/React-NativeModulesApple/ReactCommon/RCTTurboModuleManager.h:17:
In file included from <module-includes>:1:
In file included from /Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/ReactCommon/ReactCommon-umbrella.h:13:
In file included from /Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/ReactCommon/react/bridging/Array.h:10:
In file included from /Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/ReactCommon/react/bridging/Base.h:10:
In file included from /Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/ReactCommon/react/bridging/Convert.h:10:
/Users/zupee/Desktop/zupee/ludo-native/ios/Pods/Headers/Public/React-jsi/jsi/jsi.h:10:10: fatal error: 'cassert' file not found
#include <cassert>
^~~~~~~~~
1 error generated.
2 warnings and 3 errors generated.
Reproducer
NA
Screenshots and Videos

Metadata
Metadata
Assignees
Labels
Needs: AttentionIssues where the author has responded to feedback.Issues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.Platform: iOSiOS applications.iOS applications.Type: New ArchitectureIssues and PRs related to new architecture (Fabric/Turbo Modules)Issues and PRs related to new architecture (Fabric/Turbo Modules)