I cannot show up dev menu, after pod install 'React'
cd ios/pod init and fill it with pod React...
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'RCTText',
'RCTWebSocket', # needed for debugging
]
...
pod installI want to show dev menu for debugging,
But I cannot open dev menu even on newly init project.
How can I open it? Anyone who is in this issue here?
@mazicky Any luck resolving this issue?
@seanders Yes. When I use 'React' with cocoapod, this issue happens.
I used cocoapod-React because of other pod-library's dependency.
So I manually import other libraries that i use without cocoapod.
@mazicky I don't think I understood correctly, did you stopped using Pods? Or did you manually imported React?
@Fatxx I still use Pods. but I deleted 'React' and 'React'-dependency-libraries on Podfile.
I'm using React which is automatically imported when I initialize the project with react-native.
@mazicky thanks
Thank you so much - this has been driving me nuts for days!
Just commented out the React pod in my podfile, reran "pod install" and reran my app.
Shake the phone and bam! menu.
@roocell I glad to help you with my solution.
But it will be an issue when we use Pod-React dependency library.
I hope this will be fixed.
@mazicky sorry, but I'm confused as to what to do after removing React from my podfile.
For those who upgraded to RN 0.43-rc and can't use the Dev Menu anymore when RN is installed with CocoaPods, you now have to explicitly add the DevSupport subspec in your Podfile.
Change was introduced by https://github.com/facebook/react-native/pull/12602
This and #13127 are duplicates.
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.
Most helpful comment
For those who upgraded to RN 0.43-rc and can't use the Dev Menu anymore when RN is installed with CocoaPods, you now have to explicitly add the
DevSupportsubspec in yourPodfile.Change was introduced by https://github.com/facebook/react-native/pull/12602