我的应用程序是使用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上使用旧版构建系统(就像在本地一样)。
最佳答案
仅添加对“GoogleService-Info.plist”文件的引用是不够的。您还必须确保它物理上位于文件夹中。
您应该将文件复制到项目的根目录(以便您可以在finder的根目录中看到它),然后删除以前对该文件的引用,然后再次添加文件(右键单击+从xcode添加文件)。
关于ios - AppCenter响应 native ios构建失败:“以下构建命令失败:CopyPlistFile”,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/58904886/