YOLO-CoreML-MPSNNGraph icon indicating copy to clipboard operation
YOLO-CoreML-MPSNNGraph copied to clipboard

Swift Version Error - Expected 3.0,4.0

Open prateethvnayak opened this issue 6 years ago • 3 comments

Error preparing CoreML model "TinyYOLO.mlmodel" for code generation: coremlcompiler: Error: unrecognized Swift version "4.2". Expected one of: 3.0, 3.1, 3.2 or 4.0 coremlcompiler: Error: usage: coremlcompiler [options ...]

Getting Swift Version Error. It says it Expected 3.0 or 4.0 and it is apparently running 4.2

prateethvnayak avatar Sep 30 '18 20:09 prateethvnayak

Yup, needs Xcode 10.

hollance avatar Sep 30 '18 22:09 hollance

when creating IOS app getting errors- Showing Recent Issues Error preparing CoreML model "Model.mlmodel" for code generation: coremlcompiler: Error: unrecognized Swift version "4.2". Expected one of: 3.0, 3.1, 3.2 or 4.0 coremlcompiler: Error: usage: coremlcompiler [options ...]

husnejahan avatar May 25 '19 20:05 husnejahan

Sounds like you're using an old version of Xcode. The current version of this project needs Xcode 10 or higher.

hollance avatar May 26 '19 09:05 hollance