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

M1 模拟器编译问题 #587

Open
fanyu opened this issue Aug 30, 2021 · 2 comments
Open

M1 模拟器编译问题 #587

fanyu opened this issue Aug 30, 2021 · 2 comments

Comments

@fanyu
Copy link

fanyu commented Aug 30, 2021

YYImage/Vendor/WebP.framework/WebP(libwebpencode_la-config_enc.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64

该怎么处理呢,

EXCLUDED_ARCHS arm64 这个是无效的

@zwlhc
Copy link

zwlhc commented Apr 2, 2022

Podfile文件补充如下, 运行pod update。

post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
      config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
      end
    end
  end

@SAGESSE-CN
Copy link

使用#596 或者等合并

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