You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading from 0.47.2 -> 0.48.0, I can't get XCode to build anymore. I've tried clearing out derived data, cleaning the project, etc. It's consistently failing with this error, across various react-native-* modules I have installed.
robertmerten, exentrich, RaphArbuz, chemdrew, MoOx and 30 morefforres, cwagner22, cinder92, Gzbox, yar-malik and 4 more
FWIW, I downgraded to 0.47.2, cleared derived data, cleaned the project, and now I'm operational again. There's something funky going on in the new 0.48.0 release.
Even with this fix i try #import <React/RCTDevMenu.h> and #import "RCTDevMenu.h" clean rebuild nothing change i still have the issues and the parallelize build is disabled.
Activity
joncursi commentedon Sep 3, 2017
FWIW, I downgraded to
0.47.2
, cleared derived data, cleaned the project, and now I'm operational again. There's something funky going on in the new0.48.0
release.fabriziogiordano commentedon Sep 3, 2017
Probably dupe for #15762
joncursi commentedon Sep 4, 2017
Hmm. I saw that but didn't think so because the project in #15762 actually compiles, and then crashes, whereas this straight up won't compile.
grabbou commentedon Sep 4, 2017
Not a duplicate - I couldn't reproduce this issue.
robertmerten commentedon Sep 4, 2017
React Native 0.48.1
Same issue here with a third party module
iegik commentedon Sep 4, 2017
Previous definition is here: https://github.com/facebook/react-native/blob/master/React/Base/RCTBridgeModule.h#L54
First in commit: cb12080#diff-6dc01074330d7af8d99288cad5a021b7
Question: Should
RCTMethodInfo
to be defined "globally" in React/Base?iegik commentedon Sep 4, 2017
Resolved, by changing import priority: zoontek/react-native-permissions#137
exentrich commentedon Sep 4, 2017
Same issue
iegik commentedon Sep 4, 2017
@exentrich clean project, rebuild [CMD] + [CTRL] + [SHIFT] + [K]
MatthieuPeyrot commentedon Sep 4, 2017
I fix the issue by changing in all my module who use #import "RCTBridgeModule.h" into #import <React/RCTBridgeModule.h> but it trigger an other issue
/node_modules/react-native/React/Base/RCTTVRemoteHandler.m:25:9: 'RCTDevMenu.h' file not found
iegik commentedon Sep 4, 2017
Fixed in #15783
MatthieuPeyrot commentedon Sep 4, 2017
Even with this fix i try #import <React/RCTDevMenu.h> and #import "RCTDevMenu.h" clean rebuild nothing change i still have the issues and the parallelize build is disabled.
iegik commentedon Sep 4, 2017
@MatthieuPeyrot Please, review #15788
MatthieuPeyrot commentedon Sep 4, 2017
@iegik Even with this I have RCTDevMenu.h file not found
64 remaining items