ios本地构建失败 麻烦管理员有时间更新一下podfile.lock和yarn.lock 新版本xcode始终有问题
Hao-yiwen opened this issue · 7 comments
Hao-yiwen commented
Hao-yiwen commented
本地选择最小构建版本15.0或13.0 都试过了
Hao-yiwen commented
升级依赖版本也尝试过了 例如将0.70.7升级到0.70.13 虽然构建成功了 但是进入页面后就会有依赖问题 难顶
Hao-yiwen commented
zhiqingchen commented
感谢
请问解决方案指的是这个吗?
...
post_install do |installer|
react_native_post_install(
installer,
# Set mac_catalyst_enabled
to true
in order to apply patches
# necessary for Mac Catalyst builds
:mac_catalyst_enabled => false
)
# NOTE: Change IPHONEOS_DEPLOYMENT_TARGET to 12.4.
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.4'
end
end
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
Hao-yiwen commented
是的
zhiqingchen commented
已更新并验证