Commit ad6005f
Fix Xcode bundler in staging and release (#29477)
Summary:
Revert "feat: improve monorepo support by removing redundant PROJECT_ROOT (#28354)"
This reverts commit a8e8502.
This commit a8e8502 somehow broke the bundler when making a staging or release build in Xcode that results in unresolved files and main.jsbundle nonexistance issue. I figured this out by replacing react-native-xcode.sh from RN v0.63.2 by the one from v0.62.2 where everything works just fine and then reverting the changes line by line. It seems like this pr will fix similar issues stated here https://stackoverflow.com/questions/62806319/main-jsbundle-does-not-exist-this-must-be-a-bug-with-main-jsbundle-issue-afte/62829256#62829256 and here #29205
## Changelog
[iOS] [Fixed] - fix "main.jsbundle does not exist" issue
Pull Request resolved: #29477
Test Plan:
With react-native-xcode.sh from RN v0.63.2

With my changes

Reviewed By: sammy-SC
Differential Revision: D23817847
Pulled By: hramos
fbshipit-source-id: 4b729c1231d30e89073b2520aeadee944c84421c1 parent 66c8cd3 commit ad6005f
1 file changed
+5
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
68 | 62 | | |
69 | 63 | | |
70 | 64 | | |
| |||
102 | 96 | | |
103 | 97 | | |
104 | 98 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | 99 | | |
109 | 100 | | |
110 | 101 | | |
| |||
0 commit comments