appcoda / CreateMLQuickDemo

A simple demo for Create ML in Xcode 10
MIT License
35 stars 32 forks source link

Import doesn't work #1

Closed PolMrt closed 6 years ago

PolMrt commented 6 years ago

Hi 👋 I want to import Create ML but it's not working :

capture d ecran 2018-06-08 a 18 56 09
error: MyPlayground.playground:1:8: error: no such module 'CreateMLUI'
import CreateMLUI
       ^

error: MyPlayground.playground:3:8: error: no such module 'CreateML'
import CreateML
       ^

(i have macOs 10.14)

simonng commented 6 years ago

When creating the Playgrounds file, did you choose the Blank template under macOS tab?

PolMrt commented 6 years ago

I was running in iOs blank, but I have tried macOs blank and it's not working

PolMrt commented 6 years ago

Ok, found it ! I was saving the files in iCloud and apparently it doesn't work in iCloud, so I save in Desktop and it's working. Thank you !

NickDatLe commented 2 years ago

Ok, found it ! I was saving the files in iCloud and apparently it doesn't work in iCloud, so I save in Desktop and it's working. Thank you !

This did not work for me.