After updating my macOS to Ventura, I decided to upgrade my Xcode to version 14.3. Later, I learned that our project would only run with Xcode 14.2, so I uninstalled 14.3 and reinstalled 14.2.
However, the project is no longer compiling under Rosetta (as it used to) with Xcode 14.2, and I'm receiving this error message:
"Could not find module '' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator."
I tried to delete /Library/Developer
folder as well as /Library/Preferences/com.apple.dt.Xcode.plist
,and reinstall Xcode 14.2 (after deletion of 14.3).
I couldn't find much more info on problems after Xcode downgrade from 14.3 to 14.2. Is there a workaround for this issue?
After spending almost a day trying to fix this issue, I followed a suggestion made by fssilva in Apple Developer Forums, with one extra step:
/Library/Developer
folder