Change default location of iOS folder (RN 0.75.0)
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
Getting error on 'pod install'
Can you please help me out what I'm missing.
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.
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.
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.
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!
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.
There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.