电话间隙生成失败并显示初始屏幕



我正在尝试在 CLI 7.0.1 中使用新的 phonegap 构建

生成失败并显示此错误:

The following build commands failed:
    CompileAssetCatalog /Library/Developer/Xcode/DerivedData/Our_HNZC_Learning_space-ddfmniquktwfmabpvilymbvzreak/Build/Intermediates/ArchiveIntermediates/Our HNZC Learning space/InstallationBuildProductsLocation/Applications/Our HNZC Learning space.app Our HNZC Learning space/Images.xcassets
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/private/project/cordova/build-release.xcconfig,-workspace,Our HNZC Learning space.xcworkspace,-scheme,Our HNZC Learning space,-configuration,Release,-destination,generic/platform=iOS,-archivePath,Our HNZC Learning space.xcarchive,archive,CONFIGURATION_BUILD_DIR=/private/project/build/device,SHARED_PRECOMPS_DIR=/private/project/build/sharedpch

我已将这些添加到配置中.png

<icon src="res/icon.png" />
<splash src="res/splash.png" />

我已经添加了这个插件

<plugin name="cordova-plugin-splashscreen" />

文件在正确的位置。

飞溅工作正常,图标导致错误

根据

您提供的信息,不确定确切的问题是什么。

一个起点是删除启动画面插件并重新添加它:

cordova plugin remove cordova-plugin-splashscreen
cordova plugin add cordova-plugin-splashscreen
cordova prepare

我建议使用图标和启动画面生成器,例如:http://phonegap.appiq.software/

它为您完成所有艰苦的工作,并为您的配置提供确切的代码.xml

我希望这是有帮助的。

最新更新