gpt4 book ai didi

iphone - XCODE:读取 plist 时出错:流的字节太少

转载 作者:行者123 更新时间:2023-11-28 21:33:34 24 4
gpt4 key购买 nike

我为 iPhone 开发了一个应用程序。我在 iPhone 模拟器中成功地测试了它,但是一旦我在我的测试 iDevice 上运行它,它就会抛出一个错误:

读取 plist 时出错:流的字节数太少,格式:1064028076

如果在 sim 上运行正常,怎么会出错呢?

2012-03-23 10:40:16.791 Ask Alarm[5697:707] Error reading plist: stream had too few bytes,
format: 1064028076
2012-03-23 10:40:16.807 Ask Alarm[5697:707] 2012-03-23 17:40:16 +0000
2012-03-23 10:40:16.814 Ask Alarm[5697:707] *** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '*** -[__NSCFString stringByAppendingString:]: nil
argument'
*** First throw call stack:
(0x32b818bf 0x358491e5 0x32b817b9 0x32b817db 0x3216b121 0x697dd 0x36ba57ff 0x36c063b9 0x36c06357 0x36c05c91 0x36c08661 0x36c081a7 0x36bae6b5 0x36c0961b 0x36c4f691 0x36c4e14f 0x3028e93 0x36ca8d97 0x32adb435 0x36b879eb 0x36b879a7 0x36b87985 0x36b876f5 0x36b8802d 0x36b8650f 0x36b85f01 0x36b6c4ed 0x36b6bd2d 0x337f0df3 0x32b55553 0x32b554f5 0x32b54343 0x32ad74dd 0x32ad73a5 0x337effcd 0x36b9a743 0x670ab 0x669a8)
terminate called throwing an exception(lldb)

最佳答案

它要么是格式错误的 plist 文件,要么是您的 stringByAppendingString 调用中的伪造内容。

检查任何明显的东西,如果你没有看到它,修改你的问题以添加一些代码(plist 和包含 stringByAppendingString 行的代码)

关于iphone - XCODE:读取 plist 时出错:流的字节太少,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9844135/

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