【问题标题】:Why is Expo iOS build failing? ...something with ExpoModulesCore为什么 Expo iOS 构建失败? ...ExpoModulesCore 的东西
【发布时间】:2022-07-19 11:37:40
【问题描述】:

大家好,我有一个 expo 托管应用程序,我想使用一个名为 Notifee 的通知库,它有一个 expo 插件。这个插件添加了 Expo Go 不支持的原生代码,所以我不得不进入裸工作流并构建原生 iOS 和 Android 文件夹。

我正在通过运行 expo run:ios 构建 iOS 包。由于 ExpoModulesCore 的某些原因,构建失败:

 The following build commands failed:
   CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoModulesCore' from project 
 'Pods')

所以我做了一些研究,发现其他人在 Stackoverflow 上也有同样的问题。我尝试更改 pod 文件并更新 ExpoModulesCore pod update ExpoModulesCore 正如这个答案所暗示的那样 https://stackoverflow.com/a/71104305/8561357

更新 ExpoModulesCore 并重新构建后,我得到一个额外的错误:

The following build commands failed:
        PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/kevin/Library/Developer/Xcode/DerivedData/Addressbook-gmgtddiltntfosevknuexadcwkpt/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-BC35D93E0A296DC41D8D893483CBC12F.sh (in target 'FBReactNativeSpec' from project 'Pods')
        CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'ExpoModulesCore' from project 'Pods')
(2 failures)

那么为什么会这样呢?

我看到 Xcode 版本 13 无法正常工作,只有 12??

Expo 版本不兼容吗?

真的想弄清楚这里发生了什么

【问题讨论】:

    标签: react-native expo


    【解决方案1】:

    有什么更新吗?我也有 xcode 构建失败的问题。

    【讨论】:

      猜你喜欢
      • 2021-11-08
      • 2021-04-30
      • 2019-07-28
      • 2022-10-08
      • 2018-01-10
      • 2022-09-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多