-
Notifications
You must be signed in to change notification settings - Fork 57
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
[Help Wanted!][macos]add CEF dependency via podspec #11
Comments
可以把代码传上来吗?开个分支,我来看看。 |
@chinabrant 感谢关注!podspec配置文件已提交至macos分支,cef framework 需要在这里根据你机器的架构下载 :https://cef-builds.spotifycdn.com/index.html#macosx64 下载下来的档案解压后复制 Release/Chromium Embedded Framework.framework 到本工程的 macos/third/cef路径下编译即可 |
@hlwhl 我这里是一些其它的错误,运行不起来,试了一下,那个路径里面加上斜杠对空格转译后就会出现你那个错误,你可以试试去掉转译的斜杠,空格不用转译试试。还有,你用的哪个flutter版本?我用的stable的 3.0.5 测试的。暂时没有太多时间花在这上面。 |
@chinabrant 我这里也是stable 3.0.5. 目前试下来,我这里去掉转译也会报一样的错。直接将framework拖进xcode不会报错,编译也没问题。如果podspec解决不了,只能写一个脚本绕过cocoapod了,但对相对接入就会变复杂:-). |
我在cocoapods提了个issuse, CocoaPods/CocoaPods#11493 感觉还是那个文件名空格的问题。vendored framework这样写是没问题的。 |
I met a problem when integrate cef on macos : add Chromium Embedded Framework.framework dependency via podspec cause link error.
Does anyone have idea about how to solve this issue?
The text was updated successfully, but these errors were encountered: