1/29/2024 0 Comments House Flipper for ios instalIf you experience errors such as Undefined symbol: associated type descriptor for FloatLiteralType or Undefined symbol: _swift_FORCE_LOAD_$_swiftCompatibility50 after going through the Getting Started page, do the following:Ĭlick in your project's name on the left side. More solutions might be found in this thread.Make sure the iOS build target version aligns with the podfile and target iOS 11 (see the following Example).Force quite all simulators, run sudo xcode-select -switch /Applications/Xcode.app (update path were necessary) and start simulators & Flipper again. Make sure that the simulators are spawned by your current Xcode version. This might especially be needed after doing an XCode upgrade. Restarting your machine seems to magically fix the issue for quite some people.Make sure you've run cd ios & pod install.Pods based projects should always be opened this way. xcodeworkspace dir when building from XCode, not the project file. If that doesn't yield anything, compare the ios/Podfile.lock as well to verify any transitive pod dependencies need updating. If it does, it's recommended to compare the package.json and ios/Podfile files with yours. Make sure the React Native app is not in debug mode already (trigger dev menu, and make sure that Remote JS Debugging is not enabled).įirst, make sure your cocoapods is up to date ( sudo gem install cocoapods), and that you are using the latest FlipperKit.įor inexplainable build errors, clone and verify if our reference project builds and runs locally.Make sure only one device with React Native is running.Make sure the Hermes engine is enabled.Flipper now follows the selection on your device. Trigger the debug menu on your RN app (you can use the button in the Flipper toolbar).How to select a specific element in the React DevTools? This should help with any compatibility issues.Īnother way to fix this is to set the resolutions field in the package.json of the app to force a specific version and then run yarn install, for example: On selecting a specific element in the React DevTools, the "Could not inspect element with id XXX" appears when the version of the DevTools shipped in Flipper is incompatible with the react-devtools-core package used by the React Native application.įlipper supports using a globally installed react-devtools (after using npm install -g instead of the embedded one. Make sure there is only one RN app running on the device.Ĭannot inspect an element in the React DevTools: "Could not inspect element with id.If there are multiple devices, close them and try again (restart Flipper if needed).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |