Skip to content

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

@XAICoder

Description

@XAICoder

在一个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更新一下这个文件。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions