We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
网上的一些解决方案是基于将arm64排除掉: 在podfile里面书写:(大同小异)
post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO' config.build_settings['VALID_ARCHS'] = 'arm64 arm64e armv7 armv7s x86_64 i386' config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64' config.build_settings['HEADER_SEARCH_PATHS'] = '$(PROJECT_DIR)/**' config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0' config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = "" config.build_settings['CODE_SIGNING_REQUIRED'] = "NO" config.build_settings['CODE_SIGNING_ALLOWED'] = "NO" end end
而排出arm64的语句就是config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64' 普及一下吧:如果你在Apple芯片上编译,那模拟器也会使用Apple芯片,而不是intel芯片。 但这里想说的是如何解决YYKit不支持arm64模拟器问题
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
我们将上面的代码全部删掉,如果是Apple芯片的话,应该会直接报错。 把YYKit所有关于WebP的东西删掉,那你就可以使用arm64的模拟器了。
备注:如果你还使用了CocoaMarkdown(也是不支持arm64),就不要使用CocoaMarkdown,另有办法的。
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
使用#596 或者等合并
No branches or pull requests
网上的一些解决方案是基于将arm64排除掉:
在podfile里面书写:(大同小异)
而排出arm64的语句就是
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
普及一下吧:如果你在Apple芯片上编译,那模拟器也会使用Apple芯片,而不是intel芯片。
但这里想说的是如何解决YYKit不支持arm64模拟器问题
我们将上面的代码全部删掉,如果是Apple芯片的话,应该会直接报错。
把YYKit所有关于WebP的东西删掉,那你就可以使用arm64的模拟器了。
备注:如果你还使用了CocoaMarkdown(也是不支持arm64),就不要使用CocoaMarkdown,另有办法的。
The text was updated successfully, but these errors were encountered: