gpt4 book ai didi

ios - 手机间隙启动画面中的 NSInternalInconsistencyException

转载 作者:行者123 更新时间:2023-11-29 10:56:46 26 4
gpt4 key购买 nike

我在 IOS 上使用 PhoneGap 2.9.0 并为 iPhone5 构建应用程序。
我正在尝试更改启动画面,我遵循了 phonegap 解释
我的行动:
1. 在 iPhone project -> Resources -> splash 我添加了 Default-568h@2x~iphone.png
2. 并在phonegap www -> res -> screen -> ios的资源中。
3.添加到config.xml :

<gap:splash src="www/res/screen/ios/Default-568h@2x~iphone.png" gap:platform="ios" width="320" height="568" />

After that I have next exception (at the line I added the gap:splash):
2013-07-30 11:29:45.678 Test[1625:c07] Multi-tasking -> Device: YES, App: YES
2013-07-30 11:29:45.681 Test[1625:c07] *** Assertion failure in -[CDVConfigParser parser:parseErrorOccurred:], /Users/Giora/Desktop/POCS/Test/CordovaLib/Classes/CDVConfigParser.m:93
2013-07-30 11:29:45.683 Test[1625:c07] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'config.xml parse error line 55 col 46'
*** First throw call stack:
(0x16b012 0x28c9e7e 0x16ae78 0x1557f35 0x72fa2 0x15a02d8 0x58b52af 0x58cf745 0x58d725a 0x58d94e5 0x58d8f07 0x15a01ce 0x15a0160 0x15a0416 0x15a04ca 0x53d78 0x52bf0 0x52cbe 0x7b959 0x48546e 0x52d4e 0x7b9bd 0x7b47b 0x3a37b7 0x3a3da7 0x3a4fab 0x3b6315 0x3b724b 0x3a8cf8 0x36fbdf9 0x36fbad0 0xe0bf5 0xe0962 0x111bb6 0x110f44 0x110e1b 0x3a47da 0x3a665c 0x7b15c 0x7b0b9)
libc++abi.dylib: terminate called throwing an exception

我做错了什么?

最佳答案

使用下面的代码并在插件标签(config.xml)中删除上面的代码

<feature name="SplashScreen">
<param name="ios-package" value="CDVSplashScreen" />
</feature>

关于ios - 手机间隙启动画面中的 NSInternalInconsistencyException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17942338/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com