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

clang: error: no such file or directory: 'Embedded' #108

Open
MobileD3v3l opened this issue Feb 15, 2024 · 5 comments
Open

clang: error: no such file or directory: 'Embedded' #108

MobileD3v3l opened this issue Feb 15, 2024 · 5 comments

Comments

@MobileD3v3l
Copy link

Hello,

I'm using webview_cef into a macOS desktop app.

I followed all the steps on the README and I'm able to exectute the example project, but when I execute my project I obtain the following errors:

clang: error: no such file or directory: 'Embedded'
clang: error: no such file or directory: 'Framework'

I'm missed something about how tomo modify my project?

Thanks.

@SinyimZhi
Copy link
Collaborator

@MobileD3v3l When our prebuilt package's name has some blank spaces, there is something wrong on pod install. I'm not sure how to fix it at its root, but here is a temporary solution to the problem, try follow steps:

Search: Embedded Framework - l
Replace with: - l
Search: -framework "Chromium"
Replace with: -framework "Chromium Embedded Framework"

Tips: The above steps need to be redone after the "flutter clean"

@ErickVib
Copy link

hello,
I have the same problem, not get search file.

clang: error: no such file or directory: 'Embedded'
clang: error: no such file or directory: 'Framework'

tell me please where is the Embedded Framework -l and -framework "Chromium"?

@SinyimZhi
Copy link
Collaborator

SinyimZhi commented Feb 21, 2024

@ErickVib If you use vscode, it has default enabled 'use exclude settings and ignore files', Click the switch as follow screenshot to open the include and exclude setting.
image
Then close the switch 'exclude settings and ignore files'.
image
then you can get search files, just replace it according to my previous comment.

@MobileD3v3l
Copy link
Author

Didn't found Embedded Framework - l. And after replace -framework "Chromium" and flutter clean, still showing the same clang errors.

@SinyimZhi
Copy link
Collaborator

SinyimZhi commented Feb 22, 2024

@MobileD3v3l It is need replace after every time flutter clean...The issue is caused by pods install, try to find what's wrong on it, and maybe your project has private settings.

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

3 participants