title: Coreml EXC_BAD_ACCESS (code=1, address=0x7d66228) Error on WatchOs
body: <p>I have a coreml model created with Create ML. The model works on iPhone Simulator. However it doesn't work on watch simulator. What may be the problem? It gives the following error:</p>
  
  <blockquote>
    <p>EXC_BAD_ACCESS (code=1, address=0x7d66228) expression produced error:
    error:
    /var/folders/zb/dn1s2sqj66789g1ht_cz3glh0000gn/T/expr1-5fb02f..swift:1:65:
    error: use of undeclared type 'CoreML'
    Swift._DebuggerSupport.stringForPrintObject(Swift.UnsafePointer(bitPattern:
    0x1932c0)!.pointee)</p>
  </blockquote>
  
  <p>this error is related to below auto generated function.</p>
  
  <pre><code>func prediction(input: HandWashInput, options: MLPredictionOptions) throws -&gt; HandWashOutput {
      let outFeatures = try model.prediction(from: input, options:options)
      return HandWashOutput(features: outFeatures)
  }
  </code></pre>
  
  <p>Simulator: watch 5 series
  XCode: 11.4
  Swift version: 5</p>
  
  <p><a href="https://i.stack.imgur.com/7BMd9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7BMd9.png" alt="enter image description here"></a></p>