AppCenter反应本机ios构建失败:“以下构建命令失败:CopyPlistFile”

问题描述 投票:1回答:1

我的应用是使用react native构建的。我使用Xcode 11进行开发,并使用App Center进行构建。当我在Mac上本地构建应用时,我设法构建+存档该应用(并在我的设备上运行)。但是,当我在App Center上构建应用程序时,出现以下错误:

以下构建命令失败:CopyPlistFile /Users/runner/Library/Developer/Xcode/DerivedData/MyApp-glnwmpshuhlwezeyiaupgnbnizsy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/InstallationBuildProductsLocation/Applications/MyApp.app/GoogleService-Info.plist / Users / runner / runner。 1 / work / 1 / GoogleService-Info.plist(1次失败)[错误]错误:/ usr / bin / xcodebuild失败,返回码:65

[我确保我正在App Center上使用旧版构建系统(就像在本地一样)。

ios react-native visual-studio-app-center
1个回答
0
投票

仅添加对“ GoogleService-Info.plist”文件的引用是不够的。您还必须确保它物理上位于文件夹中。

您应该将文件复制到项目的根目录(以便可以在根目录的finder中看到它),然后删除以前对该文件的引用,然后再次添加文件(右键单击+从xcode添加文件) 。

© www.soinside.com 2019 - 2024. All rights reserved.