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

WebP.framework存在架构兼容性问题 #619

Open
XAICoder opened this issue Feb 8, 2025 · 2 comments
Open

WebP.framework存在架构兼容性问题 #619

XAICoder opened this issue Feb 8, 2025 · 2 comments

Comments

@XAICoder
Copy link

XAICoder commented Feb 8, 2025

在一个iOS私有库项目中,执行Cocoapods

pod lib lint --sources="https://github.com/CocoaPods/Specs.git" --use-libraries --allow-warnings --verbose

命令行时,在构建工程的过程中出现如下的错误,错误日志如下:

  ld: building for 'iOS-simulator', but linking in object file (/private/var/folders/7w/cylb0zb55r5gx252j16w67f4zjltdc/T/CocoaPods-Lint-20250208-18365-6lhpez-VSFKit/Pods/YYKit/Vendor/WebP.framework/WebP[arm64][4](bit_reader.o)) built for 'iOS'
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

解决方案:
WebP下载文件替换,即可解决。

建议官方pod更新一下这个文件。

@tom2025888
Copy link

tom2025888 commented Feb 8, 2025 via email

@Svyanto
Copy link

Svyanto commented Feb 8, 2025 via email

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