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

ios本地构建失败 麻烦管理员有时间更新一下podfile.lock和yarn.lock 新版本xcode始终有问题 #99

Closed
Hao-yiwen opened this issue Oct 20, 2023 · 7 comments

Comments

@Hao-yiwen
Copy link

image
@Hao-yiwen
Copy link
Author

本地选择最小构建版本15.0或13.0 都试过了

@Hao-yiwen
Copy link
Author

升级依赖版本也尝试过了 例如将0.70.7升级到0.70.13 虽然构建成功了 但是进入页面后就会有依赖问题 难顶

@Hao-yiwen
Copy link
Author

经过一些列努力 终于在macos15中成功启动了项目
image
但是目前依赖问题确实有点大 请管理员有时间修复一下
前面贴图的解决方案在这里解决方案

@Hao-yiwen
Copy link
Author

@zhiqingchen
Copy link
Member

感谢
请问解决方案指的是这个吗?
...
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
Copy link
Author

是的

@zhiqingchen
Copy link
Member

已更新并验证

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

2 participants