I am using macOS Mojave Beta (10.14 18A293u) and Xcode 10.0 Beta (10L176w). I created a Swift Playground and I am unable to import CreateMLUI
framework in order to use it. I keep getting an import error.
I have tried creating both an iOS Playground and a macOS Playground
Anyone knows what I am doing wrong?
Thanks in advance.
While macOS Mojave and Xcode 10 are in beta you may experience bugs while trying to use CreateML.
@Koen from one of the comments in my question found a topic in Apple Developer Forums with some workarounds. What I did was:
import CreateMLUI
line I found the answer to this problem in the apple developers forum (Can't find the exact link to the post). You simply have to select the macOS tab when creating a playground.
When you create the playground make sure you select "macOS" tab instead of. "iOS".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With