After updating Xcode to 16.2 I now get SWIFT_VERSION is unsupported!!!

Since updating Xcode to 16.2 I get the following message when attempting to build the project.

SWIFT_VERSION '' is unsupported, supported versions are: 4.0, 4.2, 5.0, 6.0.

The issue I have is that the project is pure objective-c. There is zero Swift code in the project so am struggling to understand why this error is being generated. Welcome assistance.

Graeme

Answered by wispaws in 825631022

Problem found. Even though the project was created as an objective-c project, when adding a new Core Data module, it defaulted to creating Swift Code from the entity definitions.

Accepted Answer

Problem found. Even though the project was created as an objective-c project, when adding a new Core Data module, it defaulted to creating Swift Code from the entity definitions.

After updating Xcode to 16.2 I now get SWIFT_VERSION is unsupported!!!
 
 
Q