react-native - Xcode 10 存档构建失败

标签 react-native react-native-ios xcode10

尝试存档应用程序时,我收到以下错误。知道如何解决这个问题吗?

:-1: Multiple commands produce '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a': 1) Target 'yoga' has a command with output '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a' 2) Target 'yoga' has a command with output '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a'

:-1: Multiple commands produce '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libReact.a': 1) Target 'React' has a command with output '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libReact.a' 2) Target 'React' has a command with output '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libReact.a'

最佳答案

您可以尝试将构建系统更改为 Legacy

文件 > 工作区设置 > 构建系统 > 传统构建系统。

关于react-native - Xcode 10 存档构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52417893/

相关文章:

ios - 在 iOS 模拟器中捕获键盘快捷键以进行调试 - 比如 React Native CMD + R

javascript - 如何获取asyncstorage中的值项?

react-native - 如何在React Native中运行iOS目录中的pod文件?

ios - Xcode 10 归档失败 - 仅在命令行 (xcodebuild)

continuous-integration - Xcode 构建错误 Jenkins : Your session has expired. 请登录

typescript - Firebase + Typescript,无法从用户对象中获取 accessToken?

ios - 找不到 -lRCCTOrientation 的库

react-native - 使用 react-native-fbsdk 注销的正确方法

react-native - React Native - 在 FlatList 之外触发 FlatList 的滚动

ios - iOS Xcode 10 的 Flutter 构建失败