【问题标题】:Phonegap build fails with splash screenPhonegap 构建失败并出现闪屏
【发布时间】:2018-04-28 02:51:32
【问题描述】:

我正在尝试通过 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

我已将这些添加到 config.png

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

我已经添加了这个插件

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

并且文件在正确的位置。

Splash 工作正常,Icon 导致错误

【问题讨论】:

    标签: ios cordova phonegap-build


    【解决方案1】:

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

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

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

    我建议使用图标和闪屏生成器,例如:http://phonegap.appiq.software/

    它会为您完成所有繁重的工作,并为您提供 config.xml 的确切代码

    我希望这会有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-11-26
      • 2021-11-11
      • 2020-05-07
      • 1970-01-01
      • 1970-01-01
      • 2023-03-22
      相关资源
      最近更新 更多