question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Xcode version mismatch

See original GitHub issue

šŸ› Bug Report

I am getting an Xcode version mismatch error when opening Flipper.app I have xcode installed on an external ssd as shown below. Is there a way to make Flipper aware of this location?

I have already set the location by running:

 [I] āžœ sudo xcode-select --switch /Volumes/SSD/Applications/Xcode.app/Contents/Developer

To Reproduce

Environment

Flipper version 75.0
ProductName:	macOS
ProductVersion:	11.2
BuildVersion:	20D64
family-five-xcode12/app on ī‚  master [!?] is šŸ“¦ v1.0.0 via ⬢ v14.15.4
 [I] āžœ xcrun --find gcc
/Volumes/SSD/Applications/Xcode.app/Contents/Developer/usr/bin/gcc

family-five-xcode12/app on ī‚  master [!?] is šŸ“¦ v1.0.0 via ⬢ v14.15.4
 [I] āžœ xcode-select --version
xcode-select version 2384.

family-five-xcode12/app on ī‚  master [!?] is šŸ“¦ v1.0.0 via ⬢ v14.15.4
 [I] āžœ xcode-select -p
/Volumes/SSD/Applications/Xcode.app/Contents/Developer

I have xcode installed on an external ssd as show above. Is there a way to make Flipper aware of this location?

I have already set the location by running:

 [I] āžœ sudo xcode-select --switch /Volumes/SSD/Applications/Xcode.app/Contents/Developer

Thank you.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
gustavograupnercommented, Feb 7, 2022

To workaround this, I’ve downgrade my version to v0.113.0 and it’s working fine now.

But I’m still looking for a solution to this on version 0.132.

4reactions
cjbarthcommented, Feb 5, 2022

This still seems to be a problem except this time the assumption is that the path will include Xcode.app. Based on the error I’m getting in Flipper, this doesn’t seem to be the case:

Xcode version mismatch Xcode version mismatch: Simulator is running from ā€œ286DC512-9354-4D32-A0F3-B354C61BD6B7/Contents/Developerā€ while Xcode CLI is ā€œ/Applications/Xcode.app/Contents/Developerā€. Running ā€œxcode-select --switch 286DC512-9354-4D32-A0F3-B354C61BD6B7/Contents/Developerā€ can fix this. For example: ā€œsudo xcode-select -s /Applications/Xcode.app/Contents/Developerā€

Trying to run xcode-select --switch 286DC512-9354-4D32-A0F3-B354C61BD6B7/Contents/Developer with or without sudo yields:

xcode-select: error: invalid developer directory '286DC512-9354-4D32-A0F3-B354C61BD6B7/Contents/Developer'

Trying to run sudo xcode-select -s /Applications/Xcode.app/Contents/Developer yields no change in behavior.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flipper React Native Xcode iOS Simulator Version Mismatch
I've downgrade my version from 0.132 to 0.113 (version that I was using). And everything is working fine. You can find more releases...
Read more >
App Version and bundle versions mismatch
Hi,. We started our new app by defining it in the App Store as version 2.0. We did however had bundle version numbers...
Read more >
Unavailable option on Apple clang only; version mismatch?
If I run clang --version , I get: ... Is this a quirk in Apple's Clang, or am I misreading its version? ......
Read more >
Apollo 1.0.5 - Library and CLI version mismatch
I updated Apollo to version 1.0.5 using SPM, installed the CLI via Xcode plugin and after running apollo-ios-cli generate i get theĀ ...
Read more >
"React Native version mismatch" errors
"React Native version mismatch" errors. When developing an Expo or React Native app, it's not uncommon to run into an error that looks...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found