swift-coreml-diffusers
swift-coreml-diffusers copied to clipboard
Cannot find type 'NLContextualEmbedding' in scope
I updated the common.xconfig file but still get this error
Cannot find type 'NLContextualEmbedding' in scope
for this line
let embeddingModel: NLContextualEmbedding
iPhone 11 Pro Max, iOS 16.4
I literally JUST figured this out as your message came in. The latest code is built using Xcode 15 beta. NLContextualEmbedding is a new API requiring the the beta targets it seems. I downloaded the beta from https://developer.apple.com/xcode/ and it builds fine now.
yes! sorry I figured it out as well, currently waiting for Xcode 15 to finish downloading, thanks!