wuba / taro-playground

The Taro Playground App is a cross-platform application developed using Taro, to help developers develop and debug Taro applications.
https://wuba.github.io/taro-playground/
Apache License 2.0
246 stars 51 forks source link

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

Closed Hao-yiwen closed 10 months ago

Hao-yiwen commented 10 months ago
image
Hao-yiwen commented 10 months ago

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

Hao-yiwen commented 10 months ago

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

Hao-yiwen commented 10 months ago

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

Hao-yiwen commented 10 months ago

https://github.com/facebook/react-native/issues/34106

zhiqingchen commented 10 months ago

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

是的

zhiqingchen commented 10 months ago

已更新并验证