-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No such module 'React_RCTSwiftExtensions' #96
Comments
Hey @billyjacoby, Just cloned your repro and everything works as it should. Can you try to clean the native build folder and pods:
then reinstall pods:
Open the project in Xcode and try to build it. Also make sure you've installed dependencies with |
Can you try CMD+K in Xcode (this cleans build folder) if that won't help try to Clear Xcode Derived data |
Still nothing, getting the same errors. |
One interesting thing I noticed is that when I ran
Which looks like it's using the iOS Podfile instead of the visionos Podfile, could this be related? |
Can you share a screenshot of how your built app looks? I need to fix this warning in CLI as it's not really accurate and you should still use visionos Podfile. Also you can try if you can build your app through Xcode now |
Ah so it's using visionos Podfile, that's great. Im not sure why you are facing those issues (probably they are only appearing in Xcode.app as building through CLI also uses Xcode build tools and it works). Xcode sometimes is weird so restarting your Mac or something may help here. |
Sorry had to start work, but restarting my laptop didn't fix this issue. |
Ah, okay I thought it's fixed. So even if you built the app through |
Yeah, |
Okay a brand new install seems to work fine, which is super strange because I only initialized the other project this morning right before I opened this 🤔 |
A guess: I think cocoapods 1.15 had issues with the cocoapods caches, and doesn't work with React Native at the moment? |
Interestingly I'm using 1.15.0 on the machine I eventually got this working on but I can't get this to build on the machine using 1.14.3 |
Just to further comment here - updating to Cocopods version 1.15.2 seems to have fixed this so it seems that was the culprit. |
Description
When trying to run the
visionos/app.xcworkspace
in xcode I receive the build error:No such module 'React_RCTSwiftExtensions'
Steps to reproduce
App.swift
fileReact Native Version
0.73.3
Affected Platforms
Build - MacOS
Output of
npx react-native info
Reproducer
https://github.com/billyjacoby/vision-template
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: