Earlier versions of Xcode not working

I need Xcode 10 to update some swift 3 code. But it fails to open . Never had this problem before. I have a MacBook Pro, BigSur 11.4. Any ideas about this problem? Anyone? Thanks

You should be able to do this directly in more recent Xcode.

  • Open project. You get this alert:

  • Type OK and open Issues Navigator.
  • Find the warning for project Settings:
  • Click on each alert and validate changes when requested.

  • You should then get a compilation error, with Swift version undefined:

  • Open Project settings and search for Swift

  • There, in Swift Language Version, select Swift 5.

Now project should compile (in fact you will get a lot of API errors because of changes since Xcode 8), but project can now be handled in the recent Xcode.

a tip to make this easier: switch it to SWIFT 4 and THEN convert it to 5... gives fewer errors.

Earlier versions of Xcode not working
 
 
Q