Skip to content
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

Change default location of iOS folder (RN 0.75.0) #2509

Open
ShrikantRao opened this issue Sep 17, 2024 · 5 comments
Open

Change default location of iOS folder (RN 0.75.0) #2509

ShrikantRao opened this issue Sep 17, 2024 · 5 comments
Labels
question Further information is requested

Comments

@ShrikantRao
Copy link

ShrikantRao commented Sep 17, 2024

Ask your Question

I'm encountering build errors in my React Native iOS project (npx @react-native-community/cli@latest init MyApp) where I have moved the "IOS" folder from root to "clients/c1/ios".
Here's my react-native.config.js
Screenshot 2024-09-18 at 12 58 56 AM

Getting error on 'pod install'
Screenshot 2024-09-18 at 12 43 39 AM

Can you please help me out what I'm missing.

@ShrikantRao ShrikantRao added the question Further information is requested label Sep 17, 2024
@szymonrybczak
Copy link
Collaborator

Hey, I could replicate this issue and it's related to Codegen, I'll try to debug and check how we can resolve this issue. For now it only works when .. from iOS project is root React Native project and this is not good assumption because it fails in case like yours.

@szymonrybczak
Copy link
Collaborator

cc @cipolleschi is there any chance we could leverage root property from config's command output in Codegen to avoid situations like this one? Especially now that the structure for the Config should be the same across implementations.

@cipolleschi
Copy link
Contributor

probably yes, but right now we don't have capacity nor time to work on that. Moreover, this will introduce yet another dependency on the config command from the CLI, something we are trying to minimize for the React Native framework effort. I don't have a clear solution in mind, right now. I'll have to spend time thinking about that.

@ShrikantRao
Copy link
Author

Hey @cipolleschi @szymonrybczak, just following up to see if you’ve had a chance to work through the solution you mentioned. Do you have an updated timeline for when this might be completed, or has it already been implemented? Appreciate the update when you can. Thanks in advance!

@cipolleschi
Copy link
Contributor

Sorry, but no... in the past few months we were uber-focused on the release of the New Architecture and we are now stabilizing it, so no updates on my side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants