hollance / YOLO-CoreML-MPSNNGraph

Tiny YOLO for iOS implemented using CoreML but also using the new MPS graph API.
MIT License
935 stars 252 forks source link

Swift Version Error - Expected 3.0,4.0 #40

Open prateethvnayak opened 6 years ago

prateethvnayak commented 6 years ago

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

hollance commented 6 years ago

Yup, needs Xcode 10.

husnejahan commented 5 years ago

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 ...]

hollance commented 5 years ago

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