Can't open developer menu on iOS after upgrading to 0.56.0 #20354
Labels
Platform: iOS
iOS applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.4
CPU: x64 Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz
Memory: 401.37 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 9.8.0 - /usr/local/bin/node
npm: 5.6.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
IDEs:
Android Studio: 3.1 AI-173.4697961
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: ^16.4.1 => 16.4.1
react-native: ^0.56.0 => 0.56.0
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
Description
I want to preface this by saying that even though I've seen many variations on this issue, I haven't seen anything anywhere on the internet for this exact problem. There's a few issues out there for one or two of the warnings we've been getting, but I haven't seen anything with the sheer number that we've been having.
For the past several days we've been attempting to upgrade from React Native 0.50.4 to 0.56.0. There were a few minor issues with Android that were easily resolved within a few hours, but iOS has not worked at all. We think the issue might be bad merges in in the project.pbxproj file, and every way we've attempted to solve them has failed in some way. We've tried using all ours, all theirs, slowly combining both by hand, and just using the old verison of the file. Eventually we were able to get the app to build, but the console in XCode fills up with a bunch of errors like the ones below:
Etc. There's more below in the same vein, and probably more at the top because I think some warnings get cut off because there's simply too many.
Those are always followed by warnings like:
But again, there's too many to paste here.
Here's our podfile, if that helps:
We can't comment out use_frameworks! because too much of our native code and libraries are built in Swift.
I can confirm that the problem with the dev menu is not #5122 or anything similar. I've triple checked the settings and everything appears to be correct.
I also don't think this is a duplicate of #14806 , since RCTCxxModule is one of the few classes I'm not getting a warning for. Not to mention in that issue that one module appears to be the only problem and it looks like it was resolved in the latest update anyway.
My theory is that some of the myriad classes that aren't being exported properly contain that code needed to open the dev menu and that somehow none of them are being exported nor imported as they should be.
Reproducible Demo
I don't believe this is something I can provide. I think the source of our problem is incompatibilities with updating our existing code to use the latest version and I don't think we'd have the same problems if we created a new project, which is not really a viable option for us. Please let me know if there's any other code snippets from other files that it would help to include. At this point I'm hoping there's something right in front of my nose that I'm missing because I have no idea where else to look for a solution.
The text was updated successfully, but these errors were encountered: