Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find type 'NLContextualEmbedding' in scope #50

Open
naticio opened this issue Jun 15, 2023 · 2 comments
Open

Cannot find type 'NLContextualEmbedding' in scope #50

naticio opened this issue Jun 15, 2023 · 2 comments

Comments

@naticio
Copy link

naticio commented Jun 15, 2023

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

@ghost
Copy link

ghost commented Jun 15, 2023

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
Copy link
Author

naticio commented Jun 15, 2023

yes! sorry I figured it out as well, currently waiting for Xcode 15 to finish downloading, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant