[Monorepo] Fix iOS build#18566
[Monorepo] Fix iOS build#18566hypest merged 8 commits intofeat/import-gutenberg-mobile-no-squashfrom
Conversation
3cd469e to
d7c54c9
Compare
|
Size Change: 0 B Total Size: 856 kB ℹ️ View Unchanged
|
Tug
left a comment
There was a problem hiding this comment.
LGTM 👍
XCode wasn't able to launch the metro server though, is this something we can fix? I had the same problem for the android PR but sadly I figured this is due to a bug in a react-native script, might be the same bug actually
The script to start the packager is not present in the Xcode project. But it's also not present in gutenberg-mobile's Xcode project. Could it be that it didn't launch the metro server before as well? |
Most probably 👍 Anyway it's consistent with android's behavior! Let's ship, but please don't merge yourself, @hypest has to in order to retain the history! |
…squash' into rnmobile/import-mobile-fix-build-ios
|
Merging this with "merge commit" option on. |
Description
This is a part of migration gutenberg-mobile to gutenberg repo.
In this PR I fixed iOS build of
react-native-editorexample app. In order to do that, I had to change paths to linked libraries in the iOS project and change paths where we search for headers.I also changed
rn-cli.config.jswhere I addedwatchFoldersfield withnode_modulesfrom the root level and allpackagesand removedrn-cl-inside-gb.config.jssince it is not needed anymore.The last thing is the fix for
sass-transformer.jsand removingsass-transformer-inside-gb.jsHow has this been tested?
npm run native bundle:iosshould create a JS bundlenpm run native iosshould start iOS example appScreenshots
Types of changes
Fix the iOS build in imported
react-native-editorpackageChecklist: