简体   繁体   English

Flipper React Native Xcode iOS 模拟器版本不匹配

[英]Flipper React Native Xcode iOS Simulator Version Mismatch

I'm getting the following error about mismatched Xcode versions.我收到有关不匹配的 Xcode 版本的以下错误。 However, it doesn't seem to make sense.然而,这似乎没有意义。 The UUID is the "Indentifier" of the simulator that is running, not any folder I can switch to. UUID 是正在运行的模拟器的“标识符”,而不是我可以切换到的任何文件夹。 I've found a similar bug, but since it is closed, and old, I don't think I'll get much of a response over there: https://github.com/facebook/flipper/issues/1925#issuecomment-1030495731我发现了一个类似的错误,但由于它已关闭且陈旧,我认为我不会在那里得到太多回应: https://github.com/facebook/flipper/issues/1925#issuecomment -1030495731

I've tried running all the suggested commands with and without sudo and nothing helps.我已经尝试在有和没有sudo的情况下运行所有建议的命令,但没有任何帮助。 This looks like it might be an Xcode workspace configuration issue since I've not had these problems with other React Native applications.这看起来可能是 Xcode 工作区配置问题,因为我在其他 React Native 应用程序中没有遇到这些问题。

Xcode version mismatch Xcode 版本不匹配
Xcode version mismatch: Simulator is running from "286DC512-9354-4D32-A0F3-B354C61BD6B7/Contents/Developer" while Xcode CLI is "/Applications/Xcode.app/Contents/Developer". Xcode 版本不匹配:模拟器从“286DC512-9354-4D32-A0F3-B354C61BD6B7/Contents/Developer”运行,而 Xcode CLI 是“/Applications/Xcode.app/Contents/Developer”。 Running "xcode-select --switch 286DC512-9354-4D32-A0F3-B354C61BD6B7/Contents/Developer" can fix this.运行“xcode-select --switch 286DC512-9354-4D32-A0F3-B354C61BD6B7/Contents/Developer”可以解决这个问题。 For example: "sudo xcode-select -s /Applications/Xcode.app/Contents/Developer"例如:“sudo xcode-select -s /Applications/Xcode.app/Contents/Developer”

  • Xcode version 13.2.1 Xcode 版本 13.2.1
  • Flipper version 0.132.0 (50.0.0)脚蹼版本 0.132.0 (50.0.0)
  • iOS version 15.2 iOS 版本 15.2
  • iPhone 11 iPhone 11

I've believe that is related with this version 0.132.我相信这与 0.132 版本有关。 I've downgrade my version from 0.132 to 0.113 (version that I was using).我已将我的版本从 0.132 降级到 0.113(我使用的版本)。 And everything is working fine.一切正常。

You can find more releases here https://github.com/facebook/flipper/releases您可以在此处找到更多版本https://github.com/facebook/flipper/releases

I'm still looking for a solution to this on version 0.132.我仍在寻找 0.132 版本的解决方案。

i had the same issue and the error was gone once i upgraded to flipper 0.135.0我遇到了同样的问题,升级到 flipper 0.135.0 后错误消失了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM