Cannot find type 'NLContextualEmbedding' in scope
naticio opened this issue · 2 comments
naticio commented
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
Deleted user commented
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.
naticio commented
yes! sorry I figured it out as well, currently waiting for Xcode 15 to finish downloading, thanks!